123456789101112131415161718192021222324252627282930313233343536373839 |
- .. _func_maxgui_buttons_setbuttonstate:
- ==============
- SetButtonState
- ==============
- SetButtonState -
- Description
- ===========
- .. code-block:: blitzmax
- SetButtonState( button:TGadget,checked )
- 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 that
- of a checked state through the use of the CHECK_INDETERMINATE (-1) constant, depending on the platform.
- See Also: #CreateButton, #SetGadgetText, #ButtonState and #SetGadgetPixmap.
- Parameters
- ==========
- Return Values
- =============
- Nothing.
- Examples
- ========
- See Also
- ========
|