>* note: The F12 assignment is in the startup program using the DEFINE BAR command, >* which can be several levels up in the call stack. >* -- codes omitted for brevity >define bar 1 of SomePopup prompt SomeMenuPrompt key F12 && executes SomeMethod() > >* remove the key assignment in the current call-stack. >PUSH KEY && CLEAR <- using either does not work > >* this seems to be in a wait state or modal even though the menus are accessible >* because the SET STEP ON does not fire. >MODIFY COMMAND SomeFile.text > >* restore the key assignment from the previous call-stack. >POP KEY > >* fires after closing the file by clicking on the X button. >SET STEP ON >>