[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 1362

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

Description

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

TControl.Font

  

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