Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CANCEL or SUSPEND is not allowed
Message
 
 
To
14/04/2000 18:53:27
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00359919
Message ID:
00359976
Views:
12
Hi Charles,

I love that messagebox - If I remember correctly, despite the message saying that cancel and suspend are not allowed, the messagebox actually has cancel and suspend buttons (or at least a cancel button)! Pressing the button brings up the same dialog!

The SUSPEND and CANCEL commands cannot be used within the ON SHUTDOWN routine: I think what is happening is that when stepping through code in the debugger, you are doing the equivalent of a suspend after each line of code executes.

Rick

>I have an app with an on shutdown calling a method in oApp. When I issue quit, I am getting a CANCEL or SUSPEND is not allowed if I am tracing through the debugger. When the debugger is not tracing or is closed, nothing happens. I want the call to oApp to occur. In the trace, this command appears as the active command when the error message appears. Im I just being stupid here?
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform