[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TStatusBar.Font

Font used to display the content on the control.

## Declaration

Source position: comctrls.pp line 190

`published property TStatusBar.Font : TFont;`

## Description

Font is a published TFont property in TStatusBar. It contains the font settings used to display the content on the control. This includes the value specified in SimpleText when SimplePanel is enabled, and in Panels using the psText style when SimplePanel is disabled.

In TStatusBar, the default values in Font are set to the attributes specified for the default system font. Changing values in the TFont instance or assigning a different font to the property causes the control to be redrawn.

Set ParentFont to True use the typeface and attributes assigned to the Font property in the parent control. Please note that resetting ParentFont to False does not restore the previous values in the Font property.

Remark: | The UseSystemFont property has no effect in LCL; it is provided for code compatibility with the Delphi VCL only.

## See also

TStatusBar.SimpleText |  | Contains the text displayed on the status bar when SimplePanel is enabled.
TStatusBar.SimplePanel |  | Indicates if a single panel is displayed in the status bar with the text in SimpleText.
TStatusBar.Panels |  | Collection with the TStatusPanel instances defined for the control.
TStatusBar.ParentFont |  | Indicates if the Font from the Parent control is used in the control.
TStatusBar.UseSystemFont |  | Indicates the System font is used for the control.
TStatusPanels |  | A collection of panels displayed on a status bar control.
TStatusPanel |  | Implements a panel displayed in TStatusBar.
TControl.Font |  | The font to be used for text display in this control.