Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
On shutdown not working for top level
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement