OPTION slider scrollbar zoom - v14
CONTROL 10,110, 210,310, 410,510, 610,710 - Slider, Scroll, Zoom
|
Slider with arrow marker |
|
|
|
type 10 horizontal type 110 vertical |
|
|
|
|
Slider with indicator |
|
|
|
type 210 horizontal type 310 vertical |
|
|
|
|
Scroll Bar |
|
|
|
type 410 horizontal type 510 vertical |
|
|
|
|
Zoom Bar |
|
|
|
type 610 horizontal type 710 vertical |
type: 10, 210,410,610 (horizontal), 110,310,510,710 (vertical)
parent: panel
TAB file entry:
opt,x,y,w,h,f,b,<type>,'array_name:<action>
where array_name is a string array structured
as follows:
array_name[1] = start value
array_name[2] = end value
array_name[3] = default value
array_name[4] = step for the increment(*)
NOTE : (*) the “step” is used only for Scroll Bar and Zoom Bar when the arrow and the plus/minus buttons are pressed. The increment for the thumb button is always 1.
values returned:
MN=panel number
BN=button number
ST=value related to the new position of the marker
The “insert” and “fetch” commands can be used to set and get the value of the current slider position.
It is also possible to add a scaler to the status bar and to a toolbar.
See also
panel, options, UI Framework, Theme, insert, fetch