Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

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

 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.
GroupID - The ID of the group the radio button will belong to.

 Description
Creates a radio button control. Radio buttons are often used in applications to give the user a choice between similar settings. For example in a Find Text Dialog the option of searching Up or Down is usually done with radio buttons.

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

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 90, "My Window", 0, True )
myradio = Radio( 5, 5, "Radio One", False, 1 )
myradio2 = Radio( 5, 25, "Radio Two", False, 1 )
myradio3 = Radio( 5, 45, "Radio Three", True, 1 )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End