Description
Returns the state of the specified tab in the specified tab bar gadget.
Syntax
State.i = GetTabBarGadgetItemState( 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 state of the tab and a combination of the following constants:
#TabBarGadget_Disabled | The tab is disabled. |
#TabBarGadget_Selected | The tab is selected. |
#TabBarGadget_Checked | The tab is checked. |
See also
Example
Follow this link: Set and get the item state