>Hi!
>
>I have an application with several forms. How can I do that if any form is displayed and you pressed an ESC button the active from dissapear?
>
>THANKS IVAN
You can use cancel commandbutton (button.cancel=.T.). Pressing ESC you will fire button.click event.
Edward Pikman
Independent Consultant