bgiRemoveTab

Removes a tab from a tab control by its index. Takes tabControl (Int) and index (Int). Returns 1 on success, 0 if index invalid or tab control not found.

BGI GUI

Parameters & Returns

Parameters

tabControl Int
index Int

Returns

Int

Quick Summary

Removes a tab from a tab control by its index. Takes tabControl (Int) and index (Int). Returns 1 on success, 0 if index invalid or tab control not found.

Technical Exegesis...

Removes a tab from a tab control by its 0-based index. Searches gizmoMap for the tabControl ID. Gets current tab count with TabCtrl_GetItemCount for validation. Checks if index is valid (>= 0 and < tabCount). If valid, calls TabCtrl_DeleteItem to remove the tab. Returns 1 on success, 0 if index invalid or tab control not found.

This function deletes a single tab from the control. index is 0-based position (0 = first tab, 1 = second tab, etc.).

Example

Example.bam
; No example implemented yet