Skip to main content

TdxStatusBarPanel.Text Property

The text displayed on a text panel.

Declaration

property Text: string read; write;

Property Value

Type
string

Remarks

You can access this property both at design- and runtime. The Text property does not affect non-text panels (e.g. container panel, keyboard state panel, or indicators panel).

The example below shows how to change the Text property at runtime:

if iConnectionStatus = 1 then
    dxStatusBar1.Panels[0].Text := 'Connected'
  else
    dxStatusBar1.Panels[0].Text := 'Not Connected';

iConnectionStatus indicates whether the connection is active.

Connection is active:

Connection is inactive:

See Also