bgiCreateTabControl

Category: BGI GUI

Syntax:

bgiCreateTabControl:Int(x:Int, y:Int, width:Int, height:Int, parentWin:Int)


Parameters

Returns

Int



Summary

Creates a tab control: a row of tabs above a panel.

Takes x (Int), y (Int), width (Int), height (Int) and parentWin (Int).

Returns gizmo ID on success, 0 if parent not found.

The tabs do not hold controls. As on Windows, a program places its controls over the panel and shows or hides them when the tab changes - either on the event, BGI_EVENT_COMMAND_UPDATE with ID BGI_EVENT_ID_TABCONTROL and the new tab's index as the data, or by reading bgiGetSelectedTab. The first tab added is selected.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn