Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change grid row color dynamically
Message
De
01/04/2004 09:07:43
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00891457
Message ID:
00891460
Vues:
20
Hi Soykan!

>Hi All,
>i've form with a grid.grid contains debit,credit,rest fields. i wantto show the rows on the grid with a different backcolor when the rest value=0 .
>how can i do this ?
>TIA

Try this:
Local loColumn
For Each loColumn In thisForm.myGrid
   loColumn.DynamicBackColor = [Iif(myTable.rest = 0, rgb(x, y, z), rgb(x1, y1, z1))]
EndFor
I think that this work!
Bye.
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform