WinXTabs_AddTab


iTab = WinXTabs_AddTab (hTabs, STRING label, index)

Adds a tab to a tab control

Parameter Description
hTabs The handle to the tabs control
STRING label The label for the tab
index The 0 based index at which to insert the item, or -1 to add it to the end

Returns

The index of the new tab

Remarks

none

Examples

'add some tabs to a tab control
WinXTabs_AddTab (hTabs, "Cool stuff", -1)
WinXTabs_AddTab (hTabs, "More cool stuff", -1)

Related Links

WinXAddTabs
WinXTabs_DeleteTab
WinXTabs_GetAutosizerSeries
WinXTabs_GetCurrentTab
WinXTabs_SetCurrentTab