Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally color options in a option box
Message
From
26/05/2012 14:19:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Conditionally color options in a option box
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01544512
Message ID:
01544512
Views:
99
Hi. I am trying to conditionally set colors in an option box text. For example, RED if out of stock.

I put the following code in the option1.backcolor property (as a test)
=IIF(crsQuoteList.qtynew<=0,255,0)
Thanks, Randy
Next
Reply
Map
View

Click here to load this message in the networking platform