User Tools

Site Tools


step_set_spin_increment_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== STEP (set SPIN increment) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

STEP(count)

blk2blue.jpg

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

step_set_spin_increment_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)