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

Click here to load this message in the networking platform