Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> B -> ButtonState

ButtonState( button:TGadget )

Returns:

Nothing.

Description:

Retrieve a Button's state.

Returns a non-zero value if a checkbox or radio button is selected or false if it isn't.On certain platforms, if a checkbox is set using SetButtonState to have an indeterminantstate (CHECK_INDETERMINATE), then this function will return CHECK_INDETERMINATE too.See Also: CreateButton, SetGadgetText, SetButtonState and SetGadgetPixmap.


Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command