Michelle,
If you used READ EVENTS in your application, better use CLEAR EVENTS to properly exit the program not CANCEL. Make it sure that after READ EVENTS issue SET SYSMENU TO DEFAULT, CLOSE ALL, CLEAR ALL.
**main.prg
.
.
program code here
.
.
DO mymenu.prg
READ EVENTS
CLOSE ALL
CLEAR ALL
SET SYSMENU TO DEFAULT
Your MENU.prg should have a BAR with command CLEAR EVENTS.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."