Programmer Guide/Shell Items/Dialog/Dialog Controls/Spin
From STX Wiki
< Programmer Guide | Shell Items | Dialog | Dialog Controls
Jump to navigationJump to search
SET dialog index SPIN row col text var1 width height var2 [fg bg font] [ /A|L|R ]
The spin control is a button with two arrows (horizontal: left/right, vertical: up|down) which increment (right/up) or decrement (left/down) the position variable in steps of stepwidth. If a hash character (#
) is used in place of var2, the default range (0
-100
) and stepwidth
(10
) are used.
var1 | The name of the position variable. |
var2 | The name of the range variable (var2 = minimum maximum stepwidth ).
|
/Horizontal or /Vertical
|
Horizontal or vertical spin button. |
See Common arguments for a description of the parameters not described here.