Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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

  • No labels