Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fontcolor in grid column
Message
 
To
20/07/2005 08:54:29
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01034213
Message ID:
01034217
Views:
19
>Dear Experts
>
>There is a variable nvalue=30 and grid has three columns. One columm has values as
>
>30
>25
>30
>30
>22
>30
>
>I want values less than variable value ,30, with RED Forecolor.
>The Forecolor of other values will be Blue.
>
>Please help
FOR EACH oColumn IN thisform.Grid1.Column
    oColumn.DynamicForeColor = "IIF("+oColumn.ControlSource+" < m.lnValue, RGB(255,0,0), RGB(0,0,255))"
ENDFOR
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform