Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color of Grid
Message
 
To
23/02/2004 12:06:52
Alex Shevchenko
Cb "westinkombank"
Lutsk, Ukraine
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00879983
Message ID:
00880002
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform