Sign in Join
FPDoc Onlineexperiment

TCustomForm.ParentFont property

Member of TCustomFormpublicIn unit Forms

Uses the font from the Parent when enabled.

Declaration

pascal
property ParentFont: default False;

Description

If True, the Font will be the same as the one from the Parent. The default value for the property is False in TCustomForm.

While ParentFont is True, all changes to the font in the parent will also be applied to the font for the control. This synchronizes them, keeping them set to the same values. If changes are made directly to the Font property in the control, then ParentFont is automatically be set to False.

See also

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