Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error launching form in designer
Message
From
28/05/2003 04:45:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/05/2003 04:02:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00793374
Message ID:
00793378
Views:
20
>In VFP6 project, I have made a couple of minor amendments to a form. i.e. adding a button, and a new page within a page frame. I checked page numbering etc, before saving.
>
>Now when trying to launch the form to do more work, I get the following message:
>"Expression evaluated to an illegal value". I have tried Refreshing, and Clean up project, but to no avail.
>
>Has anyone got any suggestions, or do I go back to my last back up?
>
>Thanks, Pete

Pete,
Hard to debug situation. Highly probable error stems from a control's property setting. ie: A grid's minimum rowheight is 19. A setting of any value between 0-18 (not -1) would raise the error.
I'd first try this :
-Launch the class browser and open the form (set file type to form)
-Click 'view code' and copy code
If you can get to this point it's easier to quickly check properties in code.
If class browser cannot open it too then try :

use yourformname.scx
browse for !empty(properties)

And check properties. You might fix there if you find one that'd generate the error. Close and open the form as usual. Good luck
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform