Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Row Colours
Message
From
17/12/2010 10:45:39
 
 
To
17/12/2010 08:19:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01493071
Message ID:
01493104
Views:
64
>Hi All,
>
>How do you alternate row colours in a grid when the data source uses an index? I know you use the DynamcBackColor property which I normally do use with an IIF() condition on the record number. But if the data source is indexed into non-record sequential order what can I test on for alternating rows?
>
>TIA


If you're interested Jos, I can post a class and sample form that uses a side effect of the Dynamic* properties

The only drawback is that the first visible row in the grid has always the same colour - if you scroll one line up/down all the colours change
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform