Skip to main content

TdxCustomStatusBar.Panels Property

A collection of status bar panels.

Declaration

property Panels: TdxStatusBarPanels read; write;

Property Value

Type
TdxStatusBarPanels

Remarks

Use this property to access the panels to be displayed in the status bar when its SimplePanelStyle.Active property is set to False. At design time, the Panels property provides a standard collection editor allowing you to access individual panels.

The example below demonstrates how to change the label displayed on the first (the leftmost) panel of the status bar:

dxStatusBar1.Panels[0].Text := 'Connected';

Before the above code is executed the status bar looked like the following:

After:

In the same way you may access other panels and modify their properties.

See Also