Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I'm curous.Close button-can it be linked to an exit butt
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00115714
Message ID:
00115720
Views:
14
>Would I be able to link the close button in the main window wth the exit command button in my main form. When I run my app and attempt to close it from the main window I get a message box saying "Cannot Quit Visuala FoxPro"?

All application 'exit' points should call some generic procedure (application object method) which besides other things will CLEAR EVENTS. E.g. _SCREEN close button will trigger ON SHUTDOWN do appquit. Top level form can just have CLEAR EVENTS in Form.Unload event, etc.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform