Controls.TControl.DesktopFont

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Controls.pas

	property DesktopFont: Boolean read FDesktopFont write SetDesktopFont;


Unit: Controls

Type: property

Visibility: protected

Member Of: TControl

C++ Information

From Controls.hpp

	__property bool DesktopFont = {read=FDesktopFont,write=SetDesktopFont};


Unit: Controls

Type: property

Visibility: protected

Member Of: TControl

Description

Specifies whether the control uses the Windows icon font when writing text.


Set DesktopFont to true to specify that the control should use the Windows icon font for its Font property. The Windows icon font is the value of the IconFont property of the global Screen variable.

When DesktopFont is true, the control's Font property updates every time the Windows icon font changes. This font can be changed by setting the IconFont property of the global Screen variable, or by the actions of other programs. Setting the Font property from the IconFont property of the Screen object does not allow controls to dynamically respond in this manner when the Windows icon font changes.

See Also

Personal tools
Translations
Newest Version