Purpose |
To insert a slider control. |
||||||||||||||||||||||||||||||||||
Syntax |
winio@('%Nsl[option]', value, min, max) |
||||||||||||||||||||||||||||||||||
Modifiers |
Caret (^) - call-back is called repeatedly as the user moves the slider or when an arrow key is pressed. Question mark (?) - a help string is supplied. |
||||||||||||||||||||||||||||||||||
Description |
N is mandatory and sets the length of the control in average character units. value is the current value represented by the slider in the range min to max. This value can also be accessed by a call-back function whilst the slider is being moved. The following options can be used:
The slider will respond to the arrow keys on the keyboard. The value returned by CLEARWIN_INFO@('LATEST_VARIABLE') can also be used with %sl. |
||||||||||||||||||||||||||||||||||
Example |
winio@('%20sl', x, 0.0D0, 10.0D0) |
||||||||||||||||||||||||||||||||||
See also |
|||||||||||||||||||||||||||||||||||
Notes |
ms_style and the associated options were introduced with FTN95 8.40. |