Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Coloring of Grid Cells
Message
De
01/03/2002 12:11:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Dynamic Coloring of Grid Cells
Divers
Thread ID:
00627044
Message ID:
00627044
Vues:
57
I'm trying to dynamically change the color of individual grid cells based on a conditional statement in the grid's init() method patterned after the VFP 6.0 docs. The syntax is:

this.colAbnormalChange.DynamicBackColor = ;
"IIF('VL|VH' $ Alltrim(v_PtObrObx.cptobx_abnormal_change), RGB(255,128,128), "+;
"IIF('L|H' $ Alltrim(v_PtObrObx.cptobx_abnormal_change), RGB(255,255,128), " +;
"RGB(255,255,255)))"

Anybody see the problem, or have more luck getting grids to change cell colors based upon field values?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform