Vcl.Touch.GestureCtrls.TGestureRecorder.ParentFont

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParentFont;

C++

__property ParentFont = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Touch.GestureCtrls.pas
Vcl.Touch.GestureCtrls.hpp
Vcl.Touch.GestureCtrls TGestureRecorder

Description

Specifies where a control looks for its font information.

Vcl.Touch.GestureCtrls.TGestureRecorder.ParentFont inherits from Vcl.Controls.TControl.ParentFont. All content below this line refers to Vcl.Controls.TControl.ParentFont.

Specifies where a control looks for its font information.

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. Currently, the default font is Tahoma 8 pt.

See Also