Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00207424
Message ID:
00207444
Vues:
21
>Hi,
> Quick question about error handling. I'm currently using a pretty generic form for handling application errors. One thing I'm noticing is that if the error happens inside of a method, the clear events command that I have inside the error handler doesn't seem to work. For example, if the error occurs at the beginning of a method, the error handler kicks in and displays the error form, but the method continues execution after the line which had the error. Is there a better way of doing this?
>
>TIA

The reason this is happening is probably because your Error form is not modal. Therefore, once the *Do Form ErrorForm* has executed, the method code continues to run. If you make the error form modal, all code execution in the method stops until the modal form is released.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform