This method returns the currently selected tab.
Return Value:
Tab number. The first tab is tab 0, the second tab is tab 1, etc.
Example:
// Activate the next tab var n = getObj("TabPanel1").getTab(); if (n < 5) getObj("TabPanel1").setTab(n + 1);
Note: This method is available with Profound UI versions 5.10.0 and higher.