General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only