Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
Spinner( [X][,Y][,W][,H][,Value#][,Min#][,Max#][,Inc][,Mode$] )

 Parameters
X - Starting X location of the control
Y - Starting Y location of the control
W - Starting width of the control
H - Starting height of the control
Value# - Starting value of the spinner
Min# - Lowest value the spinner can go to
Max# - Highest value the spinner can go to
Inc - Amount to increment the value of the spinner ach time
Mode$ - Specifies if the spinner return integer or float values

 Description
Spinners can be used for similar purposes as scrollbars and sliders. Starting from a set value they can be incremented or decremented to a minimum and maximum value using 2 small buttons to the right of the control.

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 210, 87, "My Window", 0, True )
myspinner = Spinner( 5, 5, 135, 20, 0, 0, 100, 1, "Integer" )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End