View previous topic :: View next topic |
Author |
Message |
ColdWind Newbie
Joined: 18 Apr 2001 Posts: 12 Location: UK
|
Posted: Mon Dec 31, 2001 3:07 pm Post subject: Closing Child Dialogs And Selecting Main Dialog |
|
|
I have a dialog that open another, but when i press the close button in the new window the whole program closes. How can i make it so when i click my close button on the child window it only close that one...
Thank you... _________________ My site @ http://ix.d2g.com |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Dec 31, 2001 5:58 pm Post subject: |
|
|
Code: | Dialog Select,1
Dialog Close
%E = @event() |
That last line will catch the CLOSE event so that it doesn't happen, and your child will have closed without closing the whole program. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
ColdWind Newbie
Joined: 18 Apr 2001 Posts: 12 Location: UK
|
Posted: Mon Dec 31, 2001 6:13 pm Post subject: |
|
|
Thanks, m8... thats great... _________________ My site @ http://ix.d2g.com |
|
Back to top |
|
|
|