Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Releasing a form from within error method.
I'm a VFP newbie. I'm using VFP 6 SP 5.
I have an code in the error method of a form that I want to process the error and then close the form. Example:
Error Method:
messagebox("Error occured. Closing form.")
thisform.release
The problem with this is that is finishes processing code in the method that caused the error. Once that method has completed the form then closes. I want to be able to close the form when an error occurs without processing any more code on that form. Is this possible? What am I doing wrong? Thanks
Mark Hoffman
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