Category: BGI GUI
Syntax:
bgiCreateRadioButton:Int(text:String, x:Int, y:Int, width:Int, height:Int, parentID:Int)
Int
Creates a radio button.
Takes text (String), x (Int), y (Int), width (Int), height (Int) and parentID
(Int) - usually a radio group from bgiCreateGizmoRadioGroup, in which case x
and y are measured from the group's top left corner.
Returns gizmo ID on success, 0 if parent not found.
Radio buttons with the same parent form one group: checking one unchecks the
others. None is checked to begin with. A click raises a
BGI_EVENT_COMMAND_CLICK event with ID BGI_EVENT_ID_CHECKBOX.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn