|
|
|
|
|
- Overview
- Retrieving the spin value
- Modifying the spin value
- Properties specific to Spin controls
Manipulating Spin controls programmatically
WINDEV and WINDEV Mobile allow you to manipulate a Spin control programmatically. To do so, use the variable of the Spin control in the code. The variable of the Spin control: - corresponds to the name of the Spin control.
- is initialized with the spin value.
Retrieving the spin value To retrieve the spin value, use the following syntax: <Position> is an integer variable. Note: It's also possible to use the Value property. To modify the spin value, use the following syntax: <Value> is a value found between the minimum and maximum value of the spin box control. These values have been defined in the control description window or in the code with the MinValue and MaxValue properties. Note: It's also possible to use the Value property. Properties specific to Spin controls The following properties are specific to the programmed management of spin characteristics. | | MaxValue | Used to find out and modify the upper bound of a spin. | MinValue | Used to find out and modify the lower bound of a spin. | ScrollValue | Used to find out and modify the increment step of a spin. |
For a complete list of WLanguage properties that can be used with Spin controls, see Spin control properties.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|