OPTION spin and spin edit button


CONTROL 11 and 111,211,311 Spin button and Spin Edit Button

 

  

type :                         11 : Only Vertical Arrows;

type :                       111 : Only Horizontal Arrows;

type:                        211 : Edit and  Vertical Arrow in the Right Side of the edit field;

type :                       311 : Edit and  Horizontal Arrow in the Right Side of the edit field;

 

parent:                    panel

 

TAB file entry:      opt,x,y,w,h,f,b,<n>,'':

where <n> is 11 |111|211|311

 

Additional behaviour:
The “insert” and “fetch” commands can be used to set and retrieve the current value of the spin button.

 

values returned:

The events associated with the increasing or decreasing of the current value (i.e. pushing an arrow or writing a number in the edit field) results in  the following values in the polling loop:

 MN = panel number;

 BN = button number;

 ST = value related to the current value of the spin control.
RN = 1 if the arrow pressed is UP or RIGHT, -1 if DOWN or LEFT

See also

panel, options, UI Framework, Theme, insert, fetch