Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color coding group of records in Grid
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01535986
Message ID:
01535990
Views:
58
>Hi guys,
>
>Is there a way to color code groups of records in a grid? Kind of like a ledger but it's not every other record, it's records in group 1 one color, records in group 2 another color, etc, it's fine if it's alternating the same 2 colors.
>
>Thanks,
>
>Roy.

Yes, you surely can use as many colors as you want. You need to use DynamicBackColor property and you can use form's method to return color, e.g.
this.SetAll('DynamicBackColor','thisform.GetColor()', 'Column')
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform