Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Cell Colors
Message
From
11/01/2008 13:15:22
 
 
To
10/01/2008 19:14:17
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01280982
Message ID:
01281197
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform