Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Current control
Message
 
À
15/02/2000 12:58:26
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00332270
Message ID:
00332342
Vues:
12
Have a look at the PROGRAM() function.

>>Three parameters are passed to the Error event of an object. The second parameter is cMethod, the method the error occurred in. You can trap for this and log it for reference.
>
>Which would be obvious if i wanted to put error routines on every one of 300+ controls, but i'm trying to use a global On Error routine. If it can pinpoint where the error occurred, it'll be more useful. If that's not simple to do, i'll just take a snapshot of the machine's current state (variables, DBF()s, etc.) and Sherlock what caused the error. (much the way physicists 'discover' sub-atomic particles)
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform