Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid row/column color
Message
From
24/05/2004 09:33:21
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00906479
Message ID:
00906489
Views:
14

Using Visual FoxPro 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 Cummings
grid.Column.DynamicForeColor=[IIF(]+grid.Column.ControlSource+[<0,COLOR_RED,COLOR_BLACK)]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform