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

# TStatusPanels.StatusBar

The StatusBar to which this collection of status panels belongs.

## Declaration

Source position: comctrls.pp line 109

`public property TStatusPanels.StatusBar : TStatusBar read FStatusBar;`

## Description

StatusBar is a read-only TStatusBar property and contains the status bar that is the owner of the items in the collection. It provides access to the properties and methods in the status bar from methods in the collection. Its primary purpose is to notify the status bar when panel(s) in the collection have been added or modified.

The property value is assigned in the Create constructor, and uses the value passed as an argument to the method.

## See also

TStatusPanels.Create |  | Constructor for the class instance.
TStatusPanels.Add |  | Adds a new TStatusPanel instance to the collection.
TStatusBar |  | Displays a panel along the bottom of a form with current status information.
TCollection