> when someone pushes escape it breaks and interrupts them and displays an error
Actually to break code and display a Program error windows with ****INTERRUPTED is not really an error message, it's just stating what you did: you interrupted your code with ESC. That is the main function of the ESC key in the IDE, to be able tu suspend and debug code.
If your users see this they have one button less in the error messagebox, the SUSPEND button. Because they don't have the debugger.
You SET ESCAPE OFF, as Dave said, to turn off that functionality. But also if you SET ESCAPE ON and ON ESCAPE Keyboard 'CTRL+F4' you turn off the interruption of code and instead let the esc key trigger CTRL+F4.
Bye, Olaf.