SG_GetGadgetItemColor

Syntax:

SG_GetGadgetItemColor(SG_GadgetID_L.l, Row_L.l, ColorType_L.l)

Parameters:

SG_GadgetID_L

=

The number of the gadget

Row_L

=

the position of the item in the list

ColorType_L

=

the type of the element which change the color

Color_L

=

the color value


Description:

Returns the color specified by 'ColorType' from the given #Gadget item. This function returns the color that was previously set by SetGadgetItemColor().

The following values are possible for the ColorType parameter:

#PB_Gadget_FrontColor: Item text

#PB_Gadget_BackColor : Item background

This function is supported by the following gadgets:

- ListIconGadget()

- EditorGadget()

- ComboboxGadget()


Example:


Remarks:



Supported OS:   Windows