Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How come the release even doesn't fire when I press the
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00403767
Message ID:
00403860
Vues:
14
I am not sure exactly why this is so, in my mind, I remember it by thinking that the "X" kills the form before the contained objects get a chance to fire their release events.

Regardless, you can fix it by putting ThisForm.Release() in the QueryUnload event of the form.

Marty


>If the user press the X on the top-right windows, the release method doesn't fire. My forms have an exit button that execute thisform.release() to quit the form. I thought that the X would do the same ?
>
>Thanks
>Eric
Marty Smith, CSQE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform