Slider format - %nsl[options]

This format, %sl (Slider), produces a vertical or horizontal (default) slider control n average characters wide. It takes three arguments which are all floating point values. The first is a variable to hold the current value, the second its lower limit and the third is the upper limit.

For example:

        INTEGER i,winio@
        DOUBLE PRECISION max,min,value,def
        DATA max,min,def,value/10.0,0.0,1.0,5.0/
        i=winio@('%2nl Value is &')



Copyright © 1999-2024 Silverfrost Limited