Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close all forms?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00284684
Message ID:
00285068
Views:
23
Hi George,

>First, you've fallen into the trap of starting at 1 and trying to go upward. Won't work.

Sure it will, I only check the return value of QueryUnLoad, I don't actually release it, I see if there ALL OK to relase, the release them ALL later.

>Second, you're right about this oversight. However, note that it will close all the forms where QueryUnload doesn't fail. In other words, it won't blow up.

I know, I said it would continue like its fine, but it may not be. I would rather see a message that says "App can't shutdown right now" and leave it with all the forms open that were open before you tried to close.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform