Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Page class > Methods

JavaScript API: RunnerPage object > setCurrentTabId(tabId)

Scroll Prev Next More

 

Selects a tab to display. This function can be used in the Before process events on the List or Print pages.

Syntax

setCurrentTabId(tabId);

Arguments

tabId

the id of the tab.

Return value

No return value.

Example

pageObject.setCurrentTabId(new XVar("main"));

See also:

JavaScript API: RunnerPage object > getCurrentTabId()

Additional WHERE tabs

Additional WHERE tabs API

JavaScript API: RunnerPage object

JavaScript API