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

TStatusPanel.Style

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

Declaration

Source position: comctrls.pp line 92

published property TStatusPanel.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

TStatusPanel.Text

  

Text displayed on the status bar panel.

TStatusPanel.Alignment

  

Alignment - whether left- or right-justified or centered.

TStatusPanel.BiDiMode

  

Introduces BiDiMode support not present in the ancestor class.

TStatusPanel.ParentBiDiMode

  

Introduces BiDiMode support not present in the ancestor class.

TStatusPanel.PanelChanged

  

PanelChanged - method for dealing with a status panel, one or more of whose parts has changed.

TStatusPanelStyle

  

Represents the style used for a panel on a status bar.

TCollectionItem


Version 4.0 Generated 2025-05-03 Home