BlitzMax Docs -> S -> SetButtonState
SetButtonState( button:TGadget,checked )
Description:Set a Button gadget's state.
Buttons created with the BUTTON_CHECKBOX and BUTTON_RADIO styles are able to show a selected state.In addition, the BUTTON_CHECKBOX style may also be able to distinguish an indeterminate state from thatof a checked state through the use of the CHECK_INDETERMINATE (-1) constant, depending on the platform.
|Blitz BASIC Founders Fund|