/
getTabItem
getTabItem
Description
Gets the index of the specified tab for further manipulation.
Functional area
User Window
Command syntax
Syntax
getTabItem userControlID itemIndex |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
itemString | string | no | The name of the tab to be added |
userControlId | int | yes | ID of user window to place the control on. |
Flags
None
Return value
string
Examples
// Create a Tab and add and additional tab to the main tab. int $windowId; int $mainTab; // First create a User Window to place the Control on $windowId = `createWindow "MyWindow"`; //create a main tab controller then add a second and third tab $mainTab = `createTab $windowId "Main" "Second" "Third"`; int $secondTab = `addTab $mainTab "Fourth"`; //get a print the third tab string $ThirdTab = `getTabItem $mainTab 2`; print $ThirdTab;
Additional information
Related commands
, multiple selections available,
Related content
findTabItem
findTabItem
More like this
getTabSelItem
getTabSelItem
More like this
selectTabItem
selectTabItem
More like this
addTab
More like this
addTab
More like this
deleteTabItem
deleteTabItem
More like this