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
tabControlInt
indexInt
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.
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. Use for programmatic navigation, restoring saved tab state, or implementing tab switching logic. Typically used with show/hide operations on page-specific controls to match active tab.