[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#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 1362

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


While this property is True, all changes to the font of the parent will be also done to the font of the control, syncronizing them and keeping them with the same value. If the Font of the control is changed by the application, then ParentFont will be automatically set to False.

See also



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

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads