/
deleteAllTabItems

deleteAllTabItems

Description

Deletes all the tabs that are associated with the specified userControlID.

Functional area

User Window

Command syntax

Syntax

deleteAllTabItems userControlID

Arguments

NameTypeRequiredComments
userControlIdintyesID of user control to be deleted.

Flags

None

Return value

void

Examples

// Create a Tab and add an 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 the main tab
$mainTab = `createTab $windowId "Main" `;
int $secondTab = `addTab $mainTab "Second"`;
 
//delete the tabs
deleteAllTabItems $mainTab;

Additional information

Related commands


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks