[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.ParentFont

If true, the Font of the control will be the same as the one from the Parent. Default is true.

Declaration

Source position: controls.pp line 1508

protected property TControl.ParentFont : Boolean
  read FParentFont
  write SetParentFont
  default True;

Description

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

See also

TControl.Font

  

The font to be used for text display in this control.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.