Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handling - Suppress error
Message
De
10/08/2007 08:18:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Error Handling - Suppress error
Divers
Thread ID:
01247315
Message ID:
01247315
Vues:
72
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform