Skip to content

SetButtonState

Claude edited this page Oct 27, 2026 · 5 revisions
BlitzPlus

SetButtonState

SetButtonState button:Int32, state:Int32
Parameter Type Default Description
button Int32 required Handle of a button of style 2 or 3.
state Int32 required 1 for ticked, 0 for not.

Description

Ticks or unticks a check box or radio button. Making a radio button ticked unticks the others in its group. It does not send an event.

Related Commands

ButtonState, SetGadgetFont, SetGadgetLayout, SetGadgetShape, SetGadgetText, SetPanelColor, SetPanelImage, SetSliderRange

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally