Results 1 to 4 of 4

Thread: Closing form using escape key

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2004
    Posts
    70

    Resolved Closing form using escape key

    Hi!

    I need the key escape to close the form that is being used at the moment. I've used keypressed property = key.escape. The problem is that I got a main form which is a parent of the rest and when I press escape it understands that I want to close the parent form instead of the child form (which is opened) and it closes the parent form (and therefore the child form too).

    How can I make it close only the form that is opened and not the parent one?

    Thanks for your help, folks!
    Last edited by nacho2; Jan 4th, 2005 at 10:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width