Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid font color
Message
From
01/02/2004 06:48:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid font color
Miscellaneous
Thread ID:
00872757
Message ID:
00872757
Views:
70
Who can help me?
How can I change the forecolor of the fonts in the grid by the value.
I entered the following code in the grid\cell\refresh but it's not working.
HERE IS THE CODE:
tv=left(allt(this.value),3)
do case
case len(tv)<3
	this.forecolor=rgb(255,255,255)
case tv='AAA'
	this.forecolor=rgb(255,255,128)
case tv='BBB' or tv='CCC'
	this.forecolor=rgb(255,0,0)
endcase
Thank you
Chaim
Next
Reply
Map
View

Click here to load this message in the networking platform