Hi,
Do you meant you call yourform.RELEASE() fro menu? If so, you may need to place your code in form.queryunload for condition checking, RETURN .F. is failed.
IF _SCREEN.ACTIVEFORM.QUERYUNLOAD()
_SCREEN.ACTIVEFORM.RELEASE()
ENDIF
HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...