PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview of the Spin control
  • Vocabulary associated with the 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
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 oriented vertically of horizontally.
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. In the window editor, click (or select "Insert .. Control .. Spin").On the "Creation" pane, in the "Graphic controls" group, click "Spin".
  2. Click the position where the control will be created in the window. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of the control. You have the ability choose the orientation of the spin.
Vocabulary associated with the Spin control
To easily handle a spin control, you must be familiar with the following vocabulary:
NameDefinition
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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment