Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Spin control
  • Overview of the Spin control
  • Vocabulary associated with the Spin control
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Overview of the Spin control
A Spin control is used to increase or reduce a value found in a control. The Spin control can be associated with an edit control for example.
A Spin control can be vertical of horizontal.
A Spin control includes a lower bound and an upper bound that represent the limits of the values taken by the Spin control. The value of the Spin control is given by the value of the control.
To create a Spin control:
  1. On the "Creation" pane, in the "Graphic controls" group, click "Spin".
  2. Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu. You have the ability choose the orientation of spin.
Vocabulary associated with the Spin control
To easily handle a spin control, you must be familiar with the following vocabulary:
Increment stepStep of the scrollbar when the user clicks one of the buttons found in the spin control or when he uses one of the arrow keys. The value of the spin control is increased or reduced by the value of increment step.
Initial valueValue of the spin box when the window is opened.
Minimum valueValue of the spin in its initial position (1 by default). This value corresponds to the lower bound.
Maximum valueValue of the spin in its final position. This value corresponds to the upper bound.
Related Examples:
The Spin control Unit examples (WINDEV): The Spin control
[ + ] Using a Spin control
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help