Sign in Join
FPDoc Onlineexperiment

TStatusPanel.Style property

Member of TStatusPanelpublishedIn unit ComCtrls

Indicates whether the panel contains text or is owner-drawn.

Declaration

pascal
property Style: TStatusPanelStyle read FStyle write SetStyle default psText;

Description

Style is a TStatusPanelStyle property which indicates whether the panel is drawn as text, or uses an owner-draw routine to render the status panel.

psText
Indicates that the panel draws its Text on the panel. Causes the widgetset class to send a message which sets the text for the panel handle.
psOwnerDraw
Indicates that the panel is drawn using the OnDrawPanel routine assigned to the StatusBar for the panel. Causes an additional drawing flag to be set when the widgetset class updates the panel on its StatusBar.

The default value for the property is psText. Changing the value for the property causes the Changed method to be called to update the collection item in its owner. PanelChanged is also called to invalidate the border for the status bar panel.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.