Hi Alex,
In any VFP version you can use column DynamicBackColor/DynamicForeColor properties
with the expression like this:
thisform.grid1.SetAll("DynamicBackColor", "IIF(mycondition = .t. ,RGB(128,255,255), RGB(255,255,255))","Column")
Also, you can use my Grid Highlighter class file#
9798 in Downloads section, that works in any VFP version and takes care of all Dynamic... properties settings for you.
If you use VFP8, you can use HighlightStyle = 1 and HighlightBackColor/HighlightForeColor grid properties.
>How I can change color of active string in Grid?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison