PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • Retrieving the spin value
  • Modifying the spin value
  • Properties specific to the management of a Spin control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Handling an Spin control by programming
Overview
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> = <Nom Spin>
<Position> is an integer variable.
Remark: You also have the ability to use Value.
Modifying the spin value
To modify the spin value, use the following syntax:
<Nom Spin> = <Valeur>
<Value> is a value found between the minimum and maximum value of the spin box control. These values have been described in the description window of control or by programming with MinValue and MaxValue.
Remark: You also have the ability to use Value.
Properties specific to the management of a Spin control
The following properties are used to manage the characteristics of a spin by programming.
ScrollValueUsed to find out and modify the increment step of a spin.
MaxValueUsed to find out and modify the upper bound of a spin.
MinValueUsed to find out and modify the lower bound of a spin.

To find out the entire list of WLanguage properties that can be used with a Spin control, see Properties associated with the Spin control.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment