Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to place ERROR routine?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Where to place ERROR routine?
Divers
Thread ID:
00027735
Message ID:
00027735
Vues:
70
I have placed code in a forms ErrorEvent method to trap certain errors. On this form are three text boxs and a subclass of a navigation class of mine.

As an example, one of the errors I trap for is record in use. If the user tries to edit the value in a textbox it triggers the forms ErrorEvent. If the user selects Delete button from navigator, a MESSAGEBOX asks for confirmation and then delete is issued. In this case the forms ErrorEvent is not being triggered and I get the VFP error dialog.

Is there a better place to have my error handling that will catch everything?

Colin
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform