Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want forecolor red for certain condition
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Want forecolor red for certain condition
Miscellaneous
Thread ID:
00867947
Message ID:
00867947
Views:
53
I want the forecolor of a text field to be red if a certain condition is true. I tried putting it in the INIT of the text field but that did not work when I clicked on NEXT through the records. Tried putting my condition in the property sheet for forecolor, but can not remember the trick of how to get it entered.

iif(property.stop_cont,this.forecolor= RGB(255,0,0),this.forecolor= RGB(0,0,0))

any help is appreciated.

Thanks

Brenda
Next
Reply
Map
View

Click here to load this message in the networking platform