Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the background colour of a row in a grid
Message
De
29/09/2005 06:28:56
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01054382
Message ID:
01054396
Vues:
15
You may try this... for say, your table id is 10,20,30,40,50,60...100, this will change the backcolor of grid when the table.id = 100

In form's init
Thisform.grid1.SetAll("dynamicbackcolor","IIF(MOD(table.id,100)=0,RGB(212,237,218),RGB(255,255,255))", "Column")
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