VISIO::SPIN (int grid, int xpos, int ypos, int xsize, int ysize)

Description: Creates a spinbutton. The spin is created on grid 'grid', it has coordinates 'xpos' and 'ypos', and the width is determined by 'xsize' and the height by 'ysize'. This button is used to easily select a value. Only integer values are supported. By default the spin button ranges from 0 to 99 with step 1. The lower limit, upper limit and stepsize can be adjusted to other values by using the command visio::spin_set. The ID of the created spin button is returned to the BASIC program.

Example: spin = VISIO::SPIN (grid, 0, 0, 10, 10)