Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid SetAll alternate shading doesn't work!
Message
From
07/08/2000 11:51:15
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00401746
Message ID:
00401824
Views:
26
> Another technique might be to use the ActiveRow or RelativeRow properties for
> this; it's a SWAG, not having tried it, and I don't have sample code to
> provide.

Unfortunately, it probably won't work because ActiveRow returns 0 when the grid doesn't have focus...

You can create a cursor with a ORDER clause or use an extra field N(1, 0) whose values alternate between 0 and 1. I use that technique for lookup tables that are mopre or less static. I actually use a third color for the 'new' values. The users like it better than I do (I think it looks too much like a Xmas tree).

Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform