When the user presses the close button in the control box, is there anyway to have it ask if the user actually wants to close or just minimize the screen?
If you are referring to the close button on a form, put code in the form's QueryUnload event. Display a messagebox to ask the question. If the user says they don't want to close after all, issue NODEFAULT, otherwise do nothing.
If you are referring to the close button in the main VFP window, see Brian's reply above.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.