PVDynamic_ColorGadget (Dynamic_lParam.l,Dynamic_wParam.l)

Top  Previous  Next

Use this function in a CallBack to Dynamically Color Gadgets.

 

This is automatically created by PureVision when an Event Loop is exported.

 

 

Example:

 

Procedure WindowCallback(WindowID,Message,wParam,lParam)

ReturnValue=#PB_ProcessPureBasicEvents

 

If Message=#WM_CTLCOLORSTATIC Or Message=#WM_CTLCOLOREDIT Or Message=#WM_CTLCOLORLISTBOX

ReturnValue=PVDynamic_ColorGadget(lParam,wParam)

EndIf

 

ProcedureReturn  ReturnValue

EndProcedure