Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid's Dynamic Color : HOWTO change dynamicbackcolor
Message
De
14/10/1999 00:36:40
 
 
À
13/10/1999 23:52:20
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00276183
Message ID:
00276195
Vues:
71
Hi Aaron.

>> There should be several entries in each day. And I want to display the entries in a single backcolor, and next day, another color. <<

To display Today's entries with a cyan backcolor, but this code in the init of your grid:

THIS.SetAll("DynamicForeColor", ;
"IIF(MyAlias.DateField = DATE(),rgb(0,0,128),rgb(0,0,0))", ;
"COLUMN")
THIS.SetAll("DynamicBackColor", ;
"IIF(MyAlias.DateField = DATE(),rgb(0,255,255),rgb(192,192,192))", ;
"COLUMN")

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform