>Sounds simple enough yet I have not been able to
>crack the
>secret. I have tried SET ESCAPE OFF and ON ESCAPE
>* in the
>INIT of the form without success. I am not
>attempting to
>trap the key in the KeyPress Event, which I can
>do; But
>what do I call after I trap the ESC key in that
>event. Where
>do I need to branch to after trapping the ESC key?
>Again, my user has requested the ESC key be
>disabled
>everywhere throughout the entire application. I
>initially
>thought of just two lines of code as previously
>mentioned.
>Any thoughts to solve this puzzle would be
>appreciated.
>Thanks
Make sure you 'KeyPreview' in the Form is set to TRUE
and trap the key in the Form KeyPress() event.
Hope this helps,
Tom