GUI_SWITCH(WIN,X,Y,W,CAP$,ON,GROUP,ACT,HELP$)
 
ON = 0/1 button default Off/On
GROUP = if greater than 0 then this button belongs in that group
 
Adds an On/Off clickable button
 
Example:
 
option1.GADGET=GUI_SWITCH(mywin,10,20,20,"Option 1",1,1,1,"1st Option")
option2.GADGET=GUI_SWITCH(mywin,10,40,20,"Option 2",0,1,1,"2nd Option")
 
See Also:
 
GUI_GADVAL - returns 0 (button Off) or 1 (button On)
GUI_SETVAL - set the button Off (0) / On (1)
GUI_SETTEXT - change the button caption
GUI_GROUP_RET - returns NULL or gadget that is On in GROUP