>Let's say you have a button - buttonCancel, which closes the form when clicked.
>Set the form's CancelButton property to point to buttonCancel, and you'll execute buttonCancel when the Escape Key is hit.
>There's also an AcceptButton for the Enter Key.
This works.
Thanks