Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxStatusBarPanel.Text Property

The text displayed on a text panel.

#Declaration

Delphi
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:

Delphi
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