Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dividing a grid
Message
 
To
26/07/2009 09:10:24
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:
01414550
Message ID:
01414561
Views:
41
You might want to change the background color. Here is an example I did that has three background colors.
This needs to go in the grid refresh
this.SetAll("DynamicBackColor", ;
   "IIF(ann.typ = 'WO', RGB(180,255,220), ;
   IIF(ann.typ = 'WR', RGB(255,220,180), ;
   IIF(ann.typ = 'PM', RGB(220,255,255), RGB(255,255,255)) ))", "Column")  
In this code, ann.typ is a cursor field and "WO" is the data.
You could just as easily use a time.

HTH
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Previous
Reply
Map
View

Click here to load this message in the networking platform