Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid row colors
Message
De
18/07/2001 03:57:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00531022
Message ID:
00531880
Vues:
14
>I think I have seen here somewhere about making alternate rows of a grid a different color. This is what I am trying to do. I know there is a column property to do this for columns, but what about rows?

If you create a blank form and drop a grid on it then use the builder to format it as "ledger" style you can have a look at how Microsoft do it.

The code

IIF(MOD(RECNO(),2)=1,RGB(255,255,255),RGB(192,220,192))

is put in the dynamic backcolor for the column. Repeat this in each column for the whole row.


Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform