Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set different font color for flagged rows on grid
Message
De
22/01/2004 19:39:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00869697
Message ID:
00869704
Vues:
17
Thanks for your reply, Sergey.
Set thisform.grid1.column1.dynamicforecolor to iif(myfield,rgb(255,0,0),rgb(0,0,0)) ?
I tried that but got the invalid expression error ??


>>I'd like my grid to display a different colored font for rows/records with myField=.T. (where myField is the field name in the table).
>>I've tried setting column1's dynamicforecolor (on the property sheet) = this.setall("dynamicforecolor",'iif(myfield=.T.,rgb(255,0,0),rgb(0,0,0))',"column") but it's not working. I do not think I quite know how the dynamicforecolor works. Can anybody help?
>
>Inge,
>
>Set it to
iif(myfield,rgb(255,0,0),rgb(0,0,0))
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform