bgiGetTabCount

Gets the total number of tabs in a tab control. Takes tabControl (Int). Returns number of tabs on success, 0 if tab control not found or empty.

BGI GUI

Parameters & Returns

Parameters

tabControl Int

Returns

Int

Quick Summary

Gets the total number of tabs in a tab control. Takes tabControl (Int). Returns number of tabs on success, 0 if tab control not found or empty.

Technical Exegesis...

Gets the total number of tabs in a tab control. Searches gizmoMap for the tabControl ID. Calls TabCtrl_GetItemCount to retrieve tab count. Returns number of tabs on success, 0 if tab control not found or empty.

This function returns how many tabs exist in the control. Returns 0 for empty tab controls or invalid IDs (ambiguous - check tab control validity separately if needed). Use for iterating through all tabs, validating indices before operations, or displaying tab counts.

Example

Example.bam
; No example implemented yet