Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00207424
Message ID:
00207444
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform