Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Text Colors
Message
From
01/08/1999 15:43:09
 
 
To
01/08/1999 15:38:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00248683
Message ID:
00248698
Views:
12
Hi Bob,

>Thanks Mike...but the text box contains calculated values so I guess I have to display them in a text bix?

I suppose, maybe a combo style 0 might work. In that case you wil ahev to change your code to:

this.forecolor=iif(this.value=1, rgb(255,0,0), iif(this.value=2, rgb(0,0,255),rgb(255,255,255))

That will make sure you have a 1 or a 2 instead of just a 1.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform