Slider Gadgets
- Last UpdatedNov 01, 2022
- 1 minute read
The SLIDER gadget allows you interactively to generate values in a specified range, at specified steps. PML supports both vertical and horizontal SLIDERS.
An example SLIDER definition is:
layout form !!myForm dialog resi
frame .frm1 |slider| anchor All width 20
text .t2 wid 3 is REAL
slider .sl1 Vertical anchor All range -50 +50 step 5 val -2 height 5
!this.sl1.callback = |!this.t2.val = !this.sl1.val|
exit
exit
