Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms still in memory after Doform()
Message
De
04/04/2002 09:42:53
 
 
À
03/04/2002 16:25:33
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00637801
Message ID:
00640856
Vues:
22
>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().
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform