TabBarGadgetFunctionsSetTabBarGadgetItemColor

TabBarGadget

ConfigurationExamplesFunctions
AddTabBarGadgetItemClearTabBarGadgetItemsCountTabBarGadgetItemsEventTypeFreeTabBarGadgetGetTabBarGadgetAttributeGetTabBarGadgetDataGetTabBarGadgetItemAttributeGetTabBarGadgetItemColorGetTabBarGadgetItemDataGetTabBarGadgetItemPositionGetTabBarGadgetItemStateGetTabBarGadgetItemTextGetTabBarGadgetStateGetTabBarGadgetTextRemoveTabBarGadgetItemSetTabBarGadgetAttributeSetTabBarGadgetDataSetTabBarGadgetFontSetTabBarGadgetItemAttributeSetTabBarGadgetItemColorSetTabBarGadgetItemDataSetTabBarGadgetItemImageSetTabBarGadgetItemPositionSetTabBarGadgetItemStateSetTabBarGadgetItemTextSetTabBarGadgetStateSetTabBarGadgetTextTabBarGadgetTabBarGadgetItemIDTabBarGadgetItemToolTipTabBarGadgetToolTipUpdateTabBarGadget
History

SetTabBarGadgetItemColorFUNCTION

Description

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

Syntax

SetTabBarGadgetItemColor( Gadget.i, Tab.i, Type.i, Color.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.
Color The color in 24-Bit-BBGGRR or #PB_Default to use the default color.

Return value

None

See also

Union Bytes | Login