Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different color row highlights for diff. criteria on a g
Message
De
07/08/2006 23:15:07
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
 
 
À
07/08/2006 04:24:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01143188
Message ID:
01143679
Vues:
10
For example:

I have a table called "Client"
Name C(50), Sex L, Age d ... and so on

so I will put in Init event of oGrid & every time the grid refresh
oGrd.recordsource = "Client"
ogrd.SetAll("DynamicBackColor", "thisform.getAge(age,sex)", "Column")
Please remind that you should "reset" the grid before changing the table's data
oGrd.recordsource = ""
ogrd.SetAll("DynamicBackColor", "", "Column")
Otherwise, error code is generated.
Best regards,

Aaron Chu

********************************************************

Working with Visual FoxPro is a lot of FUN!

********************************************************
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform