setTab( tabPanelid, tab )
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.
In Genie this function works with the Tab Panel widget.
In Rich Display File sessions, this function can work on both Tab Panel and Tab Layout widgets.
See also the Object-Oriented Tab API, setTab( tab ).
Example:
In this example, we are activating the first tab in the tab panel.
setTab("TabPanel", 0);
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!