Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternating colors for grid rows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00119894
Message ID:
00119899
Vues:
25
Mark,

You can use the DynamicBackColor (or DynamicForeColor) to do this. For instance, in the Init of the grid you could put:
THIS.DynamicBackColor="IIF(RECNO('mytable')/2=INT(RECNO('mytable')/2),RGB(255,0,0),RGB(255,255,255))"
>I know this has to be fairly straight-forward, but it escapes me. How do I get grids to display their rows in alternating colors or simply assign one color (red in this case) to a given row?
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform