Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Color in grid Columns
Message
From
02/10/2001 07:56:16
 
 
To
01/10/2001 22:54:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00562859
Message ID:
00562919
Views:
21
Hi Bob.

>>Is there anyway of a grid displaying different text colors in a column, eg if the value of the field was less than 100 it would display in red, if more than
100 it displays in black?<<

This code, in the grid's init, will do it for you:

This.ColMyField.DynamicBackColor = "IIF( MyTable.MyField < 0, RGB(255,0,0 ), RGB(255,255,255) )"

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform