Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting selected rows in a grid
Message
 
To
11/12/2000 09:49:23
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00451570
Message ID:
00451577
Views:
22
>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.
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