GUI Help > Special > selectedTab
selectedTab
int tab=selectedTab(handle gadget)
Description: Finds out which tab from a tabs gadget is currently selected. When the gadget is clicked use this to determine what gadgets to display in the main "active" area of the tab.
Return Value: Index of currently selected tab. The first tab has an index of 0.
Parameters:
gadget | Handle to a tabs gadget.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)