Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid row/column color
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00906479
Message ID:
00906486
Views:
19
This message has been marked as the solution to the initial question of the thread.
>Using VFP 7, can someone tell me how to change the font in one column of one row in a Grid to a different color? I need it to red if it's a negative number. So, to clarify: when the user is scrolling up/down the grid only those row's that have a neg number will be red, and only that one column will be red.
>
Mel,

Set DynamicForeColor property for that column
DynamicForeColor = "IIF(myvalue>=0, RGB(0,0,0), RGB(255,0,0))"
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform