PVDynamic_AddColorGadget (GadgetID.l,fgcolor.l,bgcolor.l)
Previous  Top  Next

Add a Gadget to be Dynamically Colored when it cannot be colored by normal means.

Use:
PVDynamic_AddColorGadget(#Gadget,$FF0000,$00FFFF)

or
PVDynamic_AddColorGadget(#Gadget,RGB(0,0,255),RGB(255,255,0))

If a background color of $000000 is used, the background will be transparent.



This is automatically created by PureVision when a project is exported.


This applies to the following Gadgets:

·TextGadget  
·StringGadget  
·OptionGadget  
·CheckBoxGadget  
·ListViewGadget  
·ComboBoxGadget  
·TrackBarGadget