Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Handling - Suppress error
Message
 
 
To
10/08/2007 09:59:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01247315
Message ID:
01247647
Views:
18
Bitte schön :)

>Vielen Dank, Sergey! :)
>
>>You cannot supress errrors in the ON ERROR handler. I would suggest to use TRY...ENDTRY to handle it localy.
>>
>>>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.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform