Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change font color in a grid
Message
From
12/06/2010 16:05:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Change font color in a grid
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01468687
Message ID:
01468687
Views:
182
I change the font color in a grid based in MyField value.

thisform.grdMyGrid.SetAll("DynamicForeColor",;
"IIF(MyTable.MyField = .T., RGB(128, 255, 255), RGB(0, 0, 0))",;
"Column")

It works fine, but now I have put a combo in the column (column3.combo1) , and deleted the text1 in column3.text1.
And now the color changes in the rest of the fields except the one that has the new combo.
Any idea why this is not working properly?
Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform