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:
PVX::PVDynamic_AddColorGadget(#Gadget,$FF0000,$00FFFF)

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

If a background color of -1 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  
·OptionGadget  
·CheckBoxGadget  
·ComboBoxGadget  
·TrackBarGadget