Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]


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


Source position: controls.pp line 1508

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


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.

See also



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



The control within which the control is shown.

CT Web help

CodeTyphon Studio