General information
Category:
The Mere Mortals Framework
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only