Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Closing Form when Adding a Custom Object
I have a form which has a property (bObject) in it. On the load event I have the following code:
set proc to myCustomObj additive
this.bObject = creatObject('myObj')
All works fine if I include the following in the unload event.
this.bObject.destroy()
this.bObject = .null.
If I use the 'X' in the corner, the form will not close without 'CANCEL' from the command prompt. Clicking the 'X' does not cause the unload to fire. Neither does it fire the 'release'.
How can I get around this?
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