TdxStatusBarTextPanelStyle Class
The object that defines the display style for the status bar text panels.
Declaration
TdxStatusBarTextPanelStyle = class(
TdxStatusBarPanelStyle
)
Remarks
The TdxStatusBarTextPanelStyle class defines the display options and behavior of status bar text panels. Such panels are used for displaying text labels or control hints. For example, by using the text panel you may inform user about the current state of application, its connection state and so on.
You may access the properties of the TdxStatusBarTextPanelStyle class at design- and runtime. If you wish, for example, to customize the font used to draw the text, follow the instructions below:
Double-click the status bar object on form or locate its Panels property in the Object Inspector and click the ellipsis button.
In the Panels editor that opens, locate and select the relevant container panel.
- In the Object Inspector, find and expand the PanelStyle property.
- Expand the Font property.
- Customize the available options.
You can use the status bar’s SimplePanelStyle.Active property to optionally switch the status bar to display a single text panel rather than all the created panels. This functionality is similar to the SimplePanel property found in the standard VCL TStatusBar component.