Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color in a grid
Message
From
02/11/2007 09:31:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01266038
Message ID:
01266041
Views:
9
>How can I change the text do red when the value is negative ?

There are some "Dynamic" properties, such as DynamicForeColor, DynamicBackColor, etc., which you can use for conditional formatting.

Usage would be something like this: DynamicForeColor = iif(..., rgb(...), rgb(...))
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform