General information
Category:
Coding, syntax & commands
Title:
Releasing a form from within error method.
I'm a VFP newbie. I'm using VFP 6 SP 5.
I have an code in the error method of a form that I want to process the error and then close the form. Example:
Error Method:
messagebox("Error occured. Closing form.")
thisform.release
The problem with this is that is finishes processing code in the method that caused the error. Once that method has completed the form then closes. I want to be able to close the form when an error occurs without processing any more code on that form. Is this possible? What am I doing wrong? Thanks
Mark Hoffman
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only