Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a form from within error method.
Message
De
20/11/2001 10:03:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Releasing a form from within error method.
Divers
Thread ID:
00583921
Message ID:
00583921
Vues:
47
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
Fil
Voir

Click here to load this message in the networking platform