STEP (set SPIN increment)

Top  Previous  Next

 

STEP(count)

STEP

Specifies a SPIN control RANGE attribute's increment/decrement value.

count

A numeric constant specifying the amount to increment or decrement.

The STEP attribute (PROP:STEP) specifies the amount by which a SPIN control's value is incremented or decremented within its valid RANGE. The default STEP value is 1.0.

Example:

WinOne WINDOW,AT(0,0,160,400)

       SPIN(@N4.2),AT(280,0,20,20),USE(SpinVar1),RANGE(.05,9.95),STEP(.05)

       SPIN(@N3),AT(280,0,20,20),USE(SpinVar2),RANGE(5,995),STEP(5)

       SPIN(@T3),AT(280,0,20,20),USE(SpinVar3),RANGE(1,8640000),STEP(6000)

      END