Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 2 Next »

This function sets the active tab on a Tab Panel. This function can be executed before the Tab Panel is created by the designer in which case the setTab action is automatically delayed until the Tab Panel is rendered.

Parameters:

  • tabPanelId – the Tab Panel identifier
  • tab – the tab number to activate. The first tab is tab 0, the second tab is tab 1, etc.

Example:

In this example, we are activating the first tab in the tab panel.

setTab("TabPanel", 0);
  • No labels