Sign in Join
FPDoc Onlineexperiment

TControl.DesktopFont property

Member of TControlprotectedIn unit Controls

Indicates if the desktop (system) font is used for the text displayed on this control.

Declaration

pascal
property DesktopFont: Boolean read FDesktopFont write SetDesktopFont;

Description

DesktopFont is a Boolean property which indicates whether the default desktop (or system) font is used to display the text on the control. The default value for the property is set to True in the Create constructor, and indicates that an explicit assignment has not been made to the Font property. When set to True, the System font in Screen is loaded into the Font property.

Changing the property value causes a CM_SYSFONTCHANGED message to be performed for the control. DesktopFont is set to False when an explicit TFont value is assigned to the Font property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.