Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does THISFORM.Release cause Syntax Error?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00680035
Message ID:
00680036
Views:
17
Do you have any code in QueryUnload() or Destroy()?

If you are storing references of other object in Form's property, you will need to destroy them before calling Thisform.Release().

>I have a form with a command button for Exit. The only command in the click event of the Exit button is THISFORM.Release. How come when I press the button I get an error like, "Syntax Error." sometimes.
>
>Would that error occur if the form was already released, but yet still visible on the screen? Help! Help! Thanks.
- Jayesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform