ProgressBar Control
Description
A ProgressBar control is used to graphically display the status of processing or a value.
Usage
Use the ProgressBar control to show the status of a long running operation or the value of a variable.
Displaying SPEL+ Global Variable (Except Arrays) Status
You can display the value of a SPEL+ global variable automatically by setting the Variable property.
NOTE
If the SPEL+ global variable is not displayed by the setting of Variable property, rebuild the project.
ProgressBar 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 |
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. |
Maximum | Sets the maximum of the range that the control is processing. Default: 100 |
Minimum | Sets the minimum of the range that the control is processing. Default: 0 |
Name | The name of the control. Default: ProgressBarXX |
Orientation | Sets the orientation of the control. Default: Horizontal |
ProgressBarStyle | Sets the style of the ProgressBar control. Default: Continuous |
TabIndex | The tab index of the control. |
ToolTipText | The text used in the control’s tooltip. Default: Empty |
Top | The top coordinate of the control in pixels. |
Value | Sets the value that specifies the progress bar position. Default: 50 |
Variable | This is an optional SPEL+ global variable (except arrays). When specified, the Value property is automatically set to the variable value at runtime. Default: None |
Visible | Sets whether the control is visible or not at runtime. Default: True |
Width | The width of the control in pixels. |
ProgressBar Control Events
Event | Description |
---|---|
Click | Executes when the user clicks the control with the mouse. |
DblClick | Executes when the user double clicks the control with the mouse. |