>Is it possible to set up a project so that the escape key will release the active form, pressing the
>escape key has no effect at all.
Michel gave you a good answer. Another possibility would be to set the Cancel property of your Quit button to .T. -- that will cause the button to be clicked when you hit Escape.