Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling in VFP 3
Message
 
À
18/07/1996 05:11:43
Mark Stanton
The New Software Company Ltd.
Watford, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00004144
Message ID:
00004209
Vues:
32
>It seems that not all our errors are being caught by our error
>handler, which is slightly distressing :-)
>
>Today a Fox error box got through the the user, complaining that
>"activeControl is not an object".
>
>Has anyone else seen this? Is it (as I hope) something we're doing
>wrong?
>It's a fairly plain vanilla handler in the same vein as 2.6 stuff,
>"on error do errHandProg.prg", and the handler is almos as simple,
>just calling a modal form which saves loads of stuff into an error
>table and asks the user if they want to continue, or not.
>
>Regards
>Mark

Mark

Remember your error Event (method) will fire before On Error & of there is an Error event it will over ride On Error.

Caution: If the Error Event only contains a remark it is still looked at as a error handling Event code & will try to do so.

If no Error Event then OnError files. Watch your debug window.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform