>I would like users to be able to close my program using the "X" in the upper right had corner. However when they do this they get "CANNOT QUIT FOXPRO" error message. I can quit using a command button, but I would like to have the option to quit using the "X" and also by double clicking on the upper left icon. I do not see were this can be controled in MENU DESIGNER. I only see the code under my options (FILE/EDIT/REPORTS/HELP) . I do not see were I can close using the "X". Any suggestions would be greatly appreciated. Thanks in advance.
Your ON SHUTDOWN routine should include CLEAR EVENTS.
Edward Pikman
Independent Consultant