Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program ends, but blank window doesn't terminate
Message
From
29/07/1999 18:10:24
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00247967
Message ID:
00247982
Views:
25
When the App is done, do CLEAR EVENTS. This causes the READ EVENTS waitstate to cease, and the program falls on through. In Runtime, it looks like this:
ON SHUTDOWN DO MyShutDown
DO FORM Logon
READ EVENTS
ON SHUTDOWN && Do nothing.
* Quit isn't required, unless you're running a real copy of VFP.
* Then you might not want to quit if it's you.

PROCEDURE MyShutDown
CLEAR EVENTS


>After my program ends, The Microsoft Visual FoxPro window is still there. How do I close it with my application. In fact How do I prevent it from coming up with my application. I have the following code to shut my application:
>
>&&main
>on shutdown do myshutdown
>do form logon
>read event
>
>
>
>&& myshutdown
>clos all
>clea all
>clear events
>quit
>
>
>If the window cannot be prevented from coming up, then is there a way to disable the minimize, maximize and close button? Help much appreciated
>
>
>thanks
>nick patel
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform