>The user can close the form with CTRL+F4 or clicking the upper right corner or object with "ThisForm.release()" code.
>How could I make that the "ESC" would have the same effect?
>
>Thank's, Zlatko.
Dear Zlatko,
Just go into the KeyPress Event of the form and execute the following:
IF nKeycode=27
Release Thisform
ENDIF
Inzo