[Overview][Types][Classes][Variables][Index] Reference for unit 'Printers' (#lcl)

TPrinter.Refresh

Refreshes the printer list, fonts, and current device selection.

Declaration

Source position: printers.pas line 317

public procedure TPrinter.Refresh;

Description

Refresh performs actions needed to update the list or printers or fonts when the SetPrinter method is used to change the selected printer, such as:

PrinterIndex is set to -1 if the previous printer cannot be re-selected after loading values in Printers. The selects the default printer when the previous selection becomes unavailable.


Version 3.2 Generated 2024-02-25 Home