>>>Hi all
>>>how can i highlight only selected rows in a grid based on a condition? I picked up a class in the files section that does highlight the current row, but i need to highlight the rows that meet a condition.
>>>
>>>Thanks in advance
>>>Héctor
>>
>>Hector, you need to use something like:
>>
>>thisform.grid1.SetAll("DynamicbackColor", "IIF(mycondition, RGB(255,0,0), RGB(255,255,255)","Column")
>>
>>I will add this functionality to my GridHighligter class.
>
>Would be a great addition to your class. And don't forget my request :)
>
>Thanks in advance.
Hi Nadya,
See my Message#
451603.
:)
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