Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color coding group of records in Grid
Message
 
 
À
21/02/2012 18:28:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01535986
Message ID:
01535990
Vues:
52
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform