Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Cell Colors
Message
De
11/01/2008 13:30:23
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
11/01/2008 13:15:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01280982
Message ID:
01281205
Vues:
15
>>Ok, got it to work using:
>>
>>
>>	.grdAppointmenttypeset.Column10.DynamicBackColor = "IIF( .T., RGB(" + m.BackColors + "), 0)"
>>
>>
>
>You don't need RGB there. What you needed was evaluating the m.BackColors variable at the time you set the property.
>
>
>>Which is good, but no matter what I set the Sparse property to on Column10, it changes the BackColor for all rows.
>>
>
>That's because the condition in the IIF() is .T. You need to substitute the actual condition you want that determines whether to color this item.
>
>Tamar

I'm not sure about all that but I know that this works:
"IIF( .T., RGB(b_red,b_green,b_blue), 0)"
Where the colors are RGB numeric values in the fields of the grid alias.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform