CREATES A SYSTEM OBJECT SPIN AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command creates a system object SPIN, and allocates it a number N. The number N will be used to designate the SPIN.
The created SPIN can then be used through the appropriated commands.
The SPIN is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions WIDTH = 121 pixels and HEIGHT = 22 pixels.
A SPIN displays an integer value and provides a mean to quickly increment or decrement The value.
A SPIN can generate the event : ON_CLICK, ON_DOUBLE_CLICK.
Remark: by default, the SPIN is created on the FORM number 0, but another FORM can be used. For that, create a FORM by FORM N, and send it all the commands by COMMAND_TARGET_IS N before creating the SPIN.
SYNTAX:
SPIN N
USE ERROR EXAMPLE
rem create a SPIN
spin 1
rem set the maximum value
max 1,10
rem set the minimum value
min 1,10
SPIN
SPIN N
SEE ALSO
TOP
LEFT
WIDTH
HEIGHT
HINT
HINT_HIDE
FULL_SPACE
MIN
MAX
ON_CLICK
ON_DOUBLE_CLICK