getTab()



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);


Available in Profound UI Version 5, Fix Pack 10.0 and later.