Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column Data ForeColor
Message
 
 
To
28/10/2009 04:34:38
Paul Ong
Knights of Christ Foundation
California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01431831
Message ID:
01431842
Views:
74
You can use columns DynamicForecolor and DynamicBackcolor to specify an expression that evaluates to a RGB color value during grid refresh. Something, like
.DynamicForecolor = "IIF(FieldForTheColumn = 0, RGB(255,0,0), RGB(0,0,0))"
A column has other Dynamic* properties as well.

>
>Is it possible to have a different forecolor for each record in a given column, for example, column1 has the ff: 1,2,4,0,5, i wanted the column with values to have a color blue, otherwise red (zeroes)
>
>column1
>1
>2
>4
>0
>5
>
>is this possible in design time or programmatically.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform