Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00388620
Message ID:
00398711
Vues:
20
That's right - the form isn't releasing because the click event of a command button (the one where I create the error) is still in the program stack. I'll try a few different things to see if I can get rid of the click event - hmmm . . . can a global error handler do this or do I need some code the error event of the form itself?

>Hi Allan,
>If the code in the Error routine simplies issues a return at the end, then that is why it is returning to the line directly after thge error line. You need to issue something like return to master or some other procedure up the program stack to avoid this.
>
>BTW, the reason, I believe, the form is not releasing is because one of its procedures is still in the program stack. Once you get it out of there, it should release fine. Since it isn't releasing, it remains the ActiveForm and attempts to release FormCount times.
>
>HTH.
>
Al Williams

Anola MB, CANADA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform