Description
Returns the position of the specified tab in the specified tab bar gadget.
Syntax
Position.i = GetTabBarGadgetItemPosition( Gadget.i, Tab.i )
Parameters
Gadget | A valid number of a tab bar gadget. |
Tab |
The position of the tab (the first tab is on position 0) or
the unique ID (see also TabBarGadgetItemID) of the tab or
one of the following constants:
#TabBarGadgetItem_Event | The tab with the last event. | #TabBarGadgetItem_Selected | The selected tab. | #TabBarGadgetItem_NewTab | The "new" tab. |
|
Return value
The position of the tab (the first position is 0
).
If the functions fails, it returns -1
.
See also