Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting selected rows in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00451570
Message ID:
00451605
Views:
28
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform