PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Handling a spin control by programming
Overview
WINDEV and WINDEV Mobile allow you to handle a Spin control by 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> = <Spin Name>
<Position> is an integer variable.
Note: You also have the ability to use ..Value.
Modifying the spin value
To modify the spin value, use the following syntax:
<Spin Name> = <Value>
<Value> is a value included between the minimum value and the maximum value of the spin. These values have been described in the description window of control or by programming with ..MinValue and ..MaxValue.
Note: 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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment