/
getTabSelItem

getTabSelItem

Description

Gets the index of the specified tab for further manipulation

Functional area

User Window

Command syntax

Syntax

getTabSelItem userControlID

Arguments

NameTypeRequiredComments
userControlIdintyesID of the control to be queried.

Flags

None

Return value

integer

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 tab to the main tab
$mainTab = `createTab $windowId "Main" "Second" "Third" -sel 2`;
int $secondTab = `addTab $mainTab "Fourth"`;
int $activeTab = `getTabSelItem $mainTab`;
print $activeTab;

Additional information

Related commands

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks