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

# TStatusBar.Panels

Collection with the TStatusPanel instances defined for the control.

## Declaration

Source position: comctrls.pp line 191

`published property TStatusBar.Panels : TStatusPanels read FPanels write SetPanels;`

## Description

Panels is a collection used to store TStatusPanel class instances added to the status bar. Panels are significant when the SimplePanel property is set to False; when SimplePanel contains True, the status bar displays the value in SimpleText across the entire width for the status bar.

Use CreatePanel to create a new status panel displayed on the status bar. Or use the editor provided in the Lazarus IDE Object Inspector to maintain the items in the Panels collection at design-time.

## See also

TStatusBar.SimplePanel |  | Indicates if a single panel is displayed in the status bar with the text in SimpleText.
TStatusBar.SimpleText |  | Contains the text displayed on the status bar when SimplePanel is enabled.
TStatusBar.CreatePanel |  | CreatePanel - returns a created Status Panel.
TStatusPanels |  | A collection of panels displayed on a status bar control.
TStatusPanel |  | Implements a panel displayed in TStatusBar.