Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> S -> SetButtonState

SetButtonState( button:TGadget,checked )

Returns:

Nothing.

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.

See Also: CreateButton, SetGadgetText, ButtonState and SetGadgetPixmap.


Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command