Sign in Join
FPDoc Onlineexperiment

TControl.ParentFont property

Member of TControlprotectedIn unit Controls

Indicates if the Font from the Parent control is used in the control.

Declaration

pascal
property ParentFont: Boolean read FParentFont write SetParentFont default True;

Description

While ParentFont is True, changes to the font in the Parent are also applied to the Font for the control. This synchronizes them, keeping them set to the same value. If the value in Font is changed by the application, then ParentFont will automatically be set to False.

The default value for ParentFont is True.

See also

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