Navigation: Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== SPIN (spin box) ====== | |
SPIN( picture, low, high [, step ] )
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