bgiSetSelectedTab

Sets the currently selected tab by index. Takes tabControl (Int) and index (Int). Returns 1 on success, 0 if tab control not found.

BGI GUI

Parameters & Returns

Parameters

tabControl Int
index Int

Returns

Int

Quick Summary

Sets the currently selected tab by index. Takes tabControl (Int) and index (Int). Returns 1 on success, 0 if tab control not found.

Technical Exegesis...

Sets the currently selected (active) tab in a tab control by index. Searches gizmoMap for the tabControl ID. Calls TabCtrl_SetCurSel with specified index to change selection. Returns 1 on success, 0 if tab control not found.

This function programmatically switches to a different tab. index is 0-based position (0 = first tab, 1 = second tab, etc.). Changes which tab is visible/active. Does not validate index - invalid indices may be ignored by Windows control.

Example

Example.bam
; No example implemented yet