I have a form with a script on a menu event that just has a debug statement. I have checked out this form and all related events from the development copy on our network to the runtime version on the same network. When I access the form in runtime, the debug statement works as expected. Now I want it to go away. So in the development side, I clear the event from the form by selecting Edit - Clear Events in the Event Handlers editor, save the form, test it, and check out the Form Executable to the runtime version. But this has no effect. The menu event is apparently still there (on the runtime side), because the debug statement still breaks to the debugger. How do I delete an event that is associated with a form in our runtime version?
REPOSITORY 'DESTROY', 'MYAPP*OIEVENTEXE*CLICK*WINDOW.MENU.MenuName
The Menu Name would be visible in the menu editor and it the name of each sucessive parent.
You should be able to run it from the system editor.