RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBEdit.ParentFont Property

Determines where a control looks for its font information.

Pascal
property ParentFont: Boolean;
C++
__property Boolean ParentFont;

To have a control use the same font as its parent control, set ParentFont to true. If ParentFont is false, the control uses its own Font property. Many controls default ParentFont to true so that all the controls in a form or other container present a uniform appearance. When the value of a control's Font property changes, ParentFont becomes false automatically. 

When ParentFont is true for a form, the form uses the default font. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!