Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set colors of different rows in a Grid
Message
From
15/07/1998 14:00:41
 
 
To
15/07/1998 13:49:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00117705
Message ID:
00117723
Views:
24
>>I would like to set different rows to different colors on a Grid, like the way Intuit does in Quicken. I can see how to highlight the current row, but how do you color rows that are not current?
>
>In both cases you use Column.Dynamicbackcolor property:
>***Grid.Init event
>this.setall('dynamicbackcolor','iif(table1.fieldx=2,0,65535)','column')
>Here table1 is grid.recordsource and fieldx is evaluated to get different colors for different rows/records.


Thanks for the help!
Previous
Reply
Map
View

Click here to load this message in the networking platform