Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On shutdown not working for top level
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
On shutdown not working for top level
Divers
Thread ID:
00236889
Message ID:
00236889
Vues:
42
I have a top level form that runs modal. The vfp window is hiden in the config.fpw with screen = off. My problem is that when a user closes the app by clicking on the "x" in window the shutdown routine is not ran, leaving a copy of the executable behind running in memory.

If a user clicks on a quit button provided in form, on shutdown works properly.

I can always disable the form.closable property to avoid this, but I would rather keep this property enabled if possible.

Any ideas on a solution?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform