Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.DesktopFont

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DesktopFont: Boolean read FDesktopFont write SetDesktopFont default False;

C++

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

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls 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
In Other Languages
Previous Versions
Assistance