Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set colors of different rows in a Grid
Message
De
15/07/1998 14:00:41
 
 
À
15/07/1998 13:49:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117705
Message ID:
00117723
Vues:
23
>>I would like to set different rows to different colors on a Grid, like the way Intuit does in Quicken. I can see how to highlight the current row, but how do you color rows that are not current?
>
>In both cases you use Column.Dynamicbackcolor property:
>***Grid.Init event
>this.setall('dynamicbackcolor','iif(table1.fieldx=2,0,65535)','column')
>Here table1 is grid.recordsource and fieldx is evaluated to get different colors for different rows/records.


Thanks for the help!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform