Please enable JavaScript to view this site.

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

addTab (deprecated)

Scroll Prev Next More

 

Deprecated

The addTab method is deprecated, we recommend using Additional WHERE tabs API: addTab instead.

 

This method adds a tab to the Additional WHERE tabs on the List page. The addTab method is available in the BeforePocess event of List or Chart pages.

Syntax

pageObject.addTab(where, title, id);

Arguments

where

a WHERE clause for the new tab.

title

the title of the tab.

id

the ID of the new tab.

Return value

true

if the tab was added successfully.

false

if the tab was not added successfully.

Example

An example of adding a tab:

 

pageObject.addTab("CustomerID='ANTON'", "ANTON orders", "anton");

See also:

Additional WHERE tabs API: addTab

Additional WHERE tabs API: deleteTab

Additional WHERE tabs API: setTabTitle

Additional WHERE tabs API: setTabWhere

About Additional Where tabs API

SQLQuery Screen: Additional WHERE tabs

About RunnerPage class