[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.