Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colouring a row on a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00062613
Message ID:
00062765
Views:
36
Paul,

I was posting a reply to someone else's question.

>There are actually some really good examples of this in the samples included with vfp. You can also see exactly how it works by using the builder for the grid. Basically you use the DynamicBackColor to return a value which will be used to set the background color of each cell in a collumn. If you want each row to be colored, then in the init method for your grid, issue the following command:
>*this.setall("DynamicBackColor", --command or function to return color--,"Column")
>
>Paul Moon
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform