StatusBar Control
Description
The StatusBar control displays status text and optional panels for date/time, Estop status, Safeguard status, and robot information.
Usage
Use a StatusBar control to display status text and other built-in status. The text panel is always visible.
Use the Text property to set the text in the text panel. There are other status panels that by default are not visible: DateTime, Estop, Robot, Safeguard.
Use ShowDateTime, ShowEStop, ShowRobot, and ShowSafeguard properties to make these panels visible or not. These panels are automatically updated by the system. You can use one status bar per one form. If it is already used in a form, the [New StatusBar] is grayed out and it cannot to be clicked.
StatusBar Control Properties
Property | Description |
---|---|
BackColor | The background color for the control. Default: Control |
BorderStyle | The border used for the control. Default: None |
Enabled | Sets whether the control is enabled at runtime. Default: True |
EventTaskType | Sets the type of task used for events. Default: Normal |
Font | The font for the control text. Default: Microsoft Sans Serif 8.25 pt |
ForeColor | The foreground color for the control text. Default: ControlText |
Height | The height of the control in pixels. |
Left | The left coordinate of the control in pixels. |
Name | The name of the control. Default: StatusBarXX |
RobotNumber | Specified the robot number used for ShowRobot. |
ShowDateTime | Sets whether to display the current date and time. Default: False |
ShowEStop | Sets whether to display Estop status. Default: False |
ShowRobot | Sets whether to display the robot that is selected by the RobotNumber property. Default: False |
ShowSafeguard | Sets whether to display the Safeguard status. Default: False |
TabIndex | The tab index of the control. |
Text | The text displayed in the StatusBar text panel. Default: Name of control |
ToolTipText | The text used in the control’s tooltip. Default: Empty |
Top | The top coordinate of the control in pixels. |
Visible | Whether the control is visible or not at runtime. Default: True |
Width | The width of the control in pixels. |
StatusBar Control Events
Event | Description |
---|---|
Click | Executes when the user clicks the control with the mouse. |