Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Grid dynamicforecolor
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095887
Message ID:
00095896
Views:
21
Try to put this on INIT or Activate Event of the form:

Select mytable

per Column:

Thisform.Grid1.Column1.DynamicForecolor="IIF(mytable.val1 = 0, RGB(255,0,0),RGB(0,0,0))"
or

per Row:

Thisform.Grid1.SetAll("DynamicForecolor","IIF(mytable.val1 != 0, RGB(255,0,0),RGB(0,0,0))","COLUMN")
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform