[Overview][Types][Classes][Variables][Index] |
Performs actions needed when a new printer has been selected.
Source position: printers.pas line 303
protected procedure TPrinter.PrinterSelected; virtual; |
PrinterSelected is a virtual procedure used to perform actions needed when a new printer has been selected in the class instance. PrinterSelected is called from the SetPrinter method to signal that a printer has been successfully selected from the list of Printers, and that the value in PrinterIndex has been updated.
Remark: | In TPrinter, PrinterSelected has an empty implementation. It must be overridden in a descendent class to perform actions needed for the operating system / widgetset / printer-related technology used in the implementation. |
|
Makes the device with the specified name the current printer. |
|
|
Contains the ordinal position in Printers for the selected print device. |
|
|
Contains the names for devices that can be selected for printing. |
Version 4.0 | Generated 2025-05-03 | Home |