Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms still in memory after Doform()
Message
From
04/04/2002 09:42:53
 
 
To
03/04/2002 16:25:33
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00637801
Message ID:
00640856
Views:
21
>Hi Armin,
> I put a suspend() in the cmouseoverfx.cleanup(). When I ran my app, it did not suspend when I closed the login form. The cleanup() did get called when I exited the application. The same thing happened when I put code in login.Destroy(). It didn't execute when the form closed, only when I exited the app. I don't understand why this is happening, but it's causing us some problems with our high volume customers running out of resources.
>
>Thanks for your help.

Are you calling the login form manually, or letting the framework start it for you? When you use DoForm with a modal form like the login form, the default behavior is to hide the form, not destroy it. This is to let DoForm continue executing and process any returned value. Try moving your suspend to the loginform.hide().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform