Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAll with form property
Message
From
10/06/1999 17:44:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
SetAll with form property
Miscellaneous
Thread ID:
00228582
Message ID:
00228582
Views:
32
When I run the following code from the form's Init(),
it works as expected:

thisform.grd_lvl2.SetAll("dynamicbackcolor",;
"IIF(table.field < 100,RGB(255,0,0),RGB(255,255,255))","Column")

However, when I try to check a form property or even a
variable like follows:

xxx = .T.
thisform.grd_lvl2.SetAll("dynamicbackcolor",;
"IIF(xxx=.T.,RGB(255,0,0),RGB(255,255,255))","Column")

I get the following error message:

Expression is Invalid. Use a valid expression
for DYNAMICBACKCOLOR property.

All I want to do is check that the user wants to see the
dynamic backcolor (thisform.turnoncolor = .T.) and the
table.field value is greater than 100.

What am I doing wrong?
Next
Reply
Map
View

Click here to load this message in the networking platform