Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Cell Colors
Message
From
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:
01281033
Views:
14
>>It seems that though oColorBox.BackColor has a value set of "255,255,255" when it gets elsewhere, it has a converted value of 16777215 (numeric). I need to assign the DynamicBackColor in the grid to be the same as oColorBox.
>>
>>First, how? Second, why would it get implicitly converted?
>>
>>
>>	.grdAppointmenttypeset.Column10.DynamicBackColor = oColorBox.BackColor
>>
>
>
>.grdAppointmenttypeset.Column10.DynamicBackColor = [IIF(.t., oColorBox.BackColor. 0)]
>
>?

Ok, got it to work using:
	.grdAppointmenttypeset.Column10.DynamicBackColor = "IIF( .T., RGB(" + m.BackColors + "), 0)"
Which is good, but no matter what I set the Sparse property to on Column10, it changes the BackColor for all rows.

So, I'm almost there...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform