Category: BGI GUI
Syntax:
bgiCreateListBox:Int(x:Int, y:Int, width:Int, height:Int, parentWin:Int)
Int
Creates a list box: a bordered list of text items, one selectable at a time.
Takes x (Int), y (Int), width (Int), height (Int) and parentWin (Int).
Returns gizmo ID on success, 0 if parent not found.
Items stay in the order they are added. Only a double-click raises an
event (pressing Enter on an item does too): BGI_EVENT_COMMAND_CLICK with ID
BGI_EVENT_ID_LIST and the item's index as the data. Selecting an item with a
single click raises nothing; read it with bgiGetSelectedGizmoItem.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn