GetGadgetItemColor()
Syntax
Color = GetGadgetItemColor(#Gadget, Item, ColorType [, Column])Description
Returns the color specified by 'ColorType' from the given #Gadget item. This function returns the color that was previously set by SetGadgetItemColor(). If no custom color is set for the #Gadget item and ColorType, the function returns -1.
The following values are possible for the ColorType parameter:#PB_Gadget_FrontColor: Item text #PB_Gadget_BackColor : Item backgroundThis function is supported by the following gadgets:
- ListIconGadget()
- TreeGadget()
Supported OS
All