Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Printing    [ Add a report in this area ]  
Report #:  72924   Status: Closed
TPrintDialog always shows default printer
Project:  Delphi Build #:  12.0.3210.17555
Version:    12.0 Submitted By:   Detlef Rattunde
Report Type:  Basic functionality failure Date Reported:  4/11/2009 11:57:29 PM
Severity:    Serious / Highly visible problem Last Updated: 5/6/2011 5:02:54 PM
Platform:    All versions Internal Tracking #:  
Resolution: Duplicate (Resolution Comments) Resolved in Build: : None
Duplicate of:  67694
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
When opening a TPrintDialog the combobox always shows the default printer first. No matter what PrinterIndex is set, it always shows the default printer. I always have to re-select the actual printer. This is starting to get a major annoyance. It worked perfectly in Delphi 2006. I googled the internet a little and it seems that this problem was already reported to the support in November 2008. That's as long as I'm trying to fix this problem. Now I'm sure that it is a Delphi bug.
Steps to Reproduce:
When opening a TPrintDialog the combobox always shows the default printer first. No matter what PrinterIndex is set, it always shows the default printer in the combobox. I always have to re-select the actual printer in the dialog. TPrintDialog then returns the selected printer. But I can't tell TPrintDialog to pre-select a printer with a prior call to PrinterIndex. This worked perfectly in Delphi 2006.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01