Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
CheckBox( [X][,Y][,Caption$][,Checked] )

 Parameters
X - Starting X location of the control
Y - Starting Y location of the control
Caption$ - The text that appears on the control
Checked - Set to true to make the check box start checked.

 Description
Creates a check box control. Check boxes are often used for enabling/disabling application settings.. in a Find dialog options like Match Case and Full Words Only are usually in the form of check boxes.

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

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 90, "My Window", 0, True )
mycheckbox = CheckBox( 5, 5, "Check Box One" )
mycheckbox2 = CheckBox( 5, 25, "Check Box Two" )
mycheckbox3 = CheckBox( 5, 45, "Check Box Three", True )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End