Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colouring a row on a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00062613
Message ID:
00062619
Vues:
38
>>How do I colour a specific row in grid? DynamicBackColor is used for columns not rows.
>>
>>I will like to colour each row based on the value of the data in a field on each row.
>>
>>Any ideas.
>
>Grid.SetAll("DynamicBackColor","IIF(field1=%value%, RGB(255,255,255), RGB(0,255,0))", "Column")

I have having trouble with the use of that code I am using


thisform.Grid1.SetAll("DynamicBackColor",IIF(thisform.grid1.ctime.combo1.value="0800", RGB(255,255,255), RGB(0,255,0)), "Column")

I get the error "data type is invalid for this property".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform