Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Negative Grid Values in Red
Message
 
To
31/08/1998 09:03:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00131466
Message ID:
00131479
Views:
19
>Jim,
>
>Thanks for the reply and we're on the right track. I'd like to narrow the "red cells" to include only those cells that are negative. Right now the code changes the forecolor of the entire row in all columns. Ideally those cells which are positive are black and negative cells are red.
>
>Thanks in Advance.
>
>Scott

Use the Column.DynamicBackColor of the columns you would like to highlight in red:
DYNAMICBACKCOLOR = IIF(tablename.field < 0, RGB(255,0,0), RGB(255,255,255))
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Reply
Map
View

Click here to load this message in the networking platform