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

TPrinter.DoResetFontsList

Performs actions needed to reset the list of Fonts for the selected printer.

Declaration

Source position: printers.pas line 250

protected procedure TPrinter.DoResetFontsList; virtual;

Description

DoResetFontsList is a virtual method used to perform actions needed to reset the list of Fonts for the selected print device. DoResetFontsList clears any values stored in the Fonts property (when assigned).

DoResetFontsList is called from the Refresh method, and from DoDestroy when the class instance is freed.

Remark: Please note: DoResetFontsList can be overridden in a descendent class to perform actions needed for the operating system / widgetset / printer-related technology used in the implementation.
The latest version of this document can be found at lazarus-ccr.sourceforge.net.