Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid's column ForeColor vs DynamicForeColor
Message
From
22/07/2004 15:48:46
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00926662
Message ID:
00927149
Views:
16
Hi Sergey,

>Do you've DynamicForeColor...

You got it!
This.SetAll ("DynamicForeColor", "IIf (Left (LF_StaInte, 1) = 'L', . . ., "Column")
Thanks,

Fernando

>Works for me in VFP8SP1. Do you've DynamicForeColor by any chance set for that column?
>
>>
>>I have a grid where want to higlight in red all values shown in column 22 (which will hold the value for LF_ValLib), so in grid's init code I put:
>>
>>This.Column22.ForeColor = Rgb (255, 0, 0)
>>
>>but it doesn't work, i.e. all values are shown in dark. But if I put:
>>
>>This.Column22.DynamicForeColor = "IIf (LF_ValLib <> 0, Rgb (255, 0, 0), Rgb (0, 0, 0))"
>>
>>it works. Even if I put:
>>
>>This.Column22.BackColor = Rgb (255, 0, 0)
>>
>>it works. What am I doing wrong?
>>
>>>PS. VFP 8 SP1
Previous
Reply
Map
View

Click here to load this message in the networking platform