bgiAddToolbarButton

Category: BGI GUI

Syntax:

bgiAddToolbarButton:Int(toolbarID:Int, text:String, buttonID:Int, imageIndex:Int, enabled:Int)


Parameters

Returns

Int



Summary

Adds an icon button to the toolbar with specified properties.

Takes toolbarID (Int), text (String), buttonID (Int), imageIndex (Int), and enabled (Int).

Returns 1 on success, 0 if toolbar not found.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn