|
|
|
|
- Overview
- Making the progress bar change
- Non-symmetric progress bar (linear or circular)
- Symmetric progress bar
- Non-symmetric linear horizontal progress bar
- Retrieving the position of the progress bar
- Modifying the position of the progress bar
- Properties specific to Progress Bar controls
Handling a Progress Bar control through programming
A Progress Bar control can be handled through programming. To do so, use the variable of the Progress Bar control in the code. The variable of the Progress Bar control: - corresponds to the name of the Progress Bar control.
- is initialized with the position of the progress bar.
Making the progress bar change Retrieving the position of the progress bar To retrieve the position of a progress bar, use the following syntax: <Position> = <Progress Bar control> <Position> is an integer variable. Remark: You can also use the Value property. Modifying the position of the progress bar To modify the position of a progress bar, use the following syntax: <Progress Bar control> = <Value> <Value> is a value found between the minimum value and the maximum value of the progress bar. These values have been described in the control description window or programmatically with the MinValue and MaxValue properties. Remark: You can also use the Value property. Properties specific to Progress Bar controls The following properties are used to manipulate a Progress Bar control programmatically. | | BackgroundImage | Allows you to get and change the background image of a Progress Bar control. | HorizontalAlignment | Allows you to get and change the horizontal alignment of the percentage of progress displayed in the Progress Bar control. | Image | Allows you to get and change the progress image of a Progress Bar control. | MaxValue | Allows you to get and change the upper bound of a Progress Bar control. | MinValue | Allows you to get and change the lower bound of a Progress Bar control. | TextProgressBar | Allows you to get and change the text displayed in a Progress Bar control (instead of the percentage). | Vertical | Allows you to know whether the progress bar is horizontal or vertical. |
For a complete list of WLanguage properties that can be used with a Progress Bar control, see Properties associated with Progress Bar controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|