Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Row Colours
Message
From
17/12/2010 13:59:00
 
 
To
17/12/2010 10:45:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01493071
Message ID:
01493136
Views:
57
>>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

Thanks Greg but I have a working solution :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform