GUI Help > setGadgetColor
setGadgetColor
| setGadgetColor handle gadget, color background, color text
Sets the background and text colour of gadgets which support custom-colours. The following gadgets currently support custom colours: - Button - Label - Panel - Edit - RichEdit (background colour only) - Checkbox - RadioButton - ListBox - ComboBox The colour values can be generated using the RGB() function.
Parameters:
gadget | Handle of a gadget
background | Colour to apply to the background of the gadget
text | Colour to apply to the gadget's text.