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:
00062759
Views:
24
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
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform