|
-
Jan 4th, 2005, 08:52 AM
#1
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|