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

# TStatusPanels

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A collection of panels displayed on a status bar control.

## Declaration

Source position: comctrls.pp line 97

`type TStatusPanels = class(TCollection)`
`protected`
`function GetOwner; override;` |  | GetOwner returns a Status Bar overriding the inherited method.
`procedure Update(); override;` |  | Ensures that observers are notified when he specified collection item has been changed.
`public`
`constructor Create();` |  | Constructor for the class instance.
`function Add;` |  | Adds a new TStatusPanel instance to the collection.
`property Items []: TStatusPanel; default; [rw]` |  | Provides indexed access to the TStatusPanel items in the collection.
`property StatusBar: TStatusBar; [r]` |  | The StatusBar to which this collection of status panels belongs.
`end;`

## Inheritance

`TStatusPanels` |  | A collection of panels displayed on a status bar control.
`TCollection`
?
`TObject`