>I have the following code in a method of an APP class:
>
>
>IF this.cangoon
> * save old menu, run new one
> push menu _MSYSMENU
> Do IT.MPR
> read events
>else
> * something bad happened so can't run app
>endif
>
>* clean up and close shop
>* upon termination, restore menu
>MESSAGEBOX("we got Here")
>pop menu _MSYSMENU to master
>set sysmenu to default
>
>
>(I have some cleanup code somewhere else)
>
>I have a menu that contains an Exit option. It contains the Command: RELEASE EVENTS
>What could cause that menu item to not work? Shouldn't it automatically return control to the method of the App object?
>
>Also, I created a menu with just three pads, yet the VFP menu pad (Format) is added to it. Also when the application hangs everything in VFP works except the Command Window. Also it won't let me shut down.
>
>Any suggestions would be appreciated.
Maybe use CLEAR events ? Release events is releasing a variable events
Gregory