>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