|
|
|
|
- Overview
- Retrieving the spin value
- Modifying the spin value
- Properties specific to the management of a Spin control
Handling a Spin control through programming
WINDEV and WINDEV Mobile allow you to handle a Spin control through programming. 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. Remark: You can also 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. Remark: You can also use the Value property. Properties specific to the management of a Spin control The following properties are used to manage the characteristics of a spin by programming. | | 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 a Spin control, see Properties associated with Spin controls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|