Vcl.ComCtrls.TStatusPanel.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: TStatusPanelStyle read FStyle write SetStyle default psText;

C++

__property TStatusPanelStyle Style = {read=FStyle, write=SetStyle, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TStatusPanel

Description

Determines how the status panel's text is displayed.

If Style is set to psText (the default), the string contained in the Text property is displayed in the status panel, using the alignment specified by Alignment. The font is determined by the status bar's Font property.

If Style is set to psOwnerDraw, the content displayed in the status panel is drawn at runtime on the status bar's canvas by code in an OnDrawPanel event handler.

Style is of type Vcl.ComCtrls.TStatusPanelStyle

See Also

Code Examples