Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Handling - Suppress error
Message
From
10/08/2007 08:18:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Error Handling - Suppress error
Miscellaneous
Thread ID:
01247315
Message ID:
01247315
Views:
71
Hello,
I have a global event handler with ON ERROR goErrorHanler.ErrorEvent(ERROR().... )...

In the ErrorEvent - I need to release one another global object.
When I made RELEASE goOutlook EXTENDED - in the goOutlook - happens destroy event which also generate error.

And I can't suppress FoxPro Error Message which happens in the Destroy event of this global object even if I use
ON ERROR llError.. or put RELEASE goOutlook between TRY/ENDTRY

Question:
Why foxpro error message always appears? and how to suppress it?

P.S.
One strange moment - when I put SET STEP ON in the errorhandler - then - error in destroy suppressed good.
Next
Reply
Map
View

Click here to load this message in the networking platform