Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why isn't this IIF expression working?
Message
 
To
17/08/2000 09:02:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00406009
Message ID:
00406042
Views:
29
Ulises,

IIF() returns an expression, yours;

IIF(Something,"Thisform.textwhatever.forecolor=blah blah",...)

is returning the expression, it is not assigning the value. You could try this;

Thisform.textWhatever.ForeColor = IIF(Whatevercondition,RGB(x,x,x),RGB(y,y,y))
Previous
Reply
Map
View

Click here to load this message in the networking platform