Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid fonts color
Message
 
To
04/02/2004 04:51:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00873284
Message ID:
00873770
Views:
27
Hi Chaim, There is no need to add this code in Grid\Refresh method, Just add it in INIT method of the form:
tv="left(allt(ThisForm.txtinv.value),3)"
Thisform.Grid1.SetAll("DynamicForeColor","iif(len("+tv+")<3,rgb(255,255,255),iif("+tv"='aaa',rgb(255,255,128),iif("+tv"='ddd' or "+tv+"='eee',rgb(255,0,0))","Column")
Pls check for sintax errors after pasting this :o)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform