Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to place ERROR routine?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Where to place ERROR routine?
Miscellaneous
Thread ID:
00027735
Message ID:
00027735
Views:
72
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.
Next
Reply
Map
View

Click here to load this message in the networking platform