User Tools

Site Tools


spin_spin_box_.htm
Navigation:  Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== SPIN (spin box) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

SPIN( picture, low, high [, step ] )

blk2blue.jpg

SPIN Creates a spin control.
picture A data entry picture token.
low A numeric constant or expression containing the lowest valid value.
high A numeric constant or expression containing the highest valid value.
step A numeric constant or expression containing the amount to change each increment between lowest and highest valid values. If omitted, the default is 1.

The SPIN type in a #PROMPT statement creates a spin control for the programmer to select a valid number.

Example:

#PROMPT('How Many?',SPIN(@n2,1,10)),%SpinSymbol

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