TabBarGadgetFunctionsGetTabBarGadgetItemColor

TabBarGadget

ConfigurationExamplesFunctions
AddTabBarGadgetItemClearTabBarGadgetItemsCountTabBarGadgetItemsEventTypeFreeTabBarGadgetGetTabBarGadgetAttributeGetTabBarGadgetDataGetTabBarGadgetItemAttributeGetTabBarGadgetItemColorGetTabBarGadgetItemDataGetTabBarGadgetItemPositionGetTabBarGadgetItemStateGetTabBarGadgetItemTextGetTabBarGadgetStateGetTabBarGadgetTextRemoveTabBarGadgetItemSetTabBarGadgetAttributeSetTabBarGadgetDataSetTabBarGadgetFontSetTabBarGadgetItemAttributeSetTabBarGadgetItemColorSetTabBarGadgetItemDataSetTabBarGadgetItemImageSetTabBarGadgetItemPositionSetTabBarGadgetItemStateSetTabBarGadgetItemTextSetTabBarGadgetStateSetTabBarGadgetTextTabBarGadgetTabBarGadgetItemIDTabBarGadgetItemToolTipTabBarGadgetToolTipUpdateTabBarGadget
History

GetTabBarGadgetItemColorFUNCTION

Description

Returns the color (text or background) of the specified tab in the specified tab bar gadget.

Syntax

Text.s = GetTabBarGadgetItemColor( Gadget.i, Tab.i, Type.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.
Type One of the following constants:
#PB_Gadget_FrontColor Changes the front (text) color.
#PB_Gadget_BackColor Changes the background color.

Return value

The specified color of the tab. If the functions fails, it returns 0.

See also

Union Bytes | Login