Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Expression Evaluated to an Illegal Value
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00469359
Message ID:
00469381
Views:
11
>I entered the following into the Height property of my grid class:
>
>=EVAL(This.Parent.Height-4)
>
>VFP allowed me to save the class and attempt to run the form. However I got an error saying "Expression Evaluated to an Illegal Value" when attempting to run it.
>
>Now when I try to edit my class I get the same error. Is there a way to remove my invalid syntax, without restoring a backup.
>

Open your class as a table. Scan the table, looking in the Properties memo field, for your error. Correct it either =EVAL('This.Parent.Height-4') or (This.Parent.Height-4) in the field - do not add extra spaces, newlines or whatever, just fix the problem

Close and save.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform