IonicWind Software

IWBasic => General Questions => Topic started by: JoaoAfonso on May 05, 2008, 12:07:44 PM

Title: Escape key with multiple dialogs open
Post by: JoaoAfonso on May 05, 2008, 12:07:44 PM
Good evening.

Today something "strange" happened:
- created 2 dialogs
- opened one of them with domodal
- click on a button to open the second one with domodal (first thing strange: I could press again buttons in first dialog, even with second one open - domodal shouldnt prevent this?)
- after this, if I press ESC key it closes second dialog, but pressing again ESC it opens the same dialog again.

Hmm... is this supposed to happen, or something about my code (strange reaction, though...)?
Title: Re: Escape key with multiple dialogs open
Post by: aurelCB on May 05, 2008, 12:59:33 PM
If not secret give the code that we see?
Title: Re: Escape key with multiple dialogs open
Post by: LarryMc on May 05, 2008, 01:49:26 PM
See Paul's response to a related question in the Aurora forums at

http://www.ionicwind.com/forums/index.php/topic,1040.msg9673.html#msg9673

Another possibility has to do with what you are using for the "parent" of the dialogs.


Can't help other than that without some code to look at.

Larry
Title: Re: Escape key with multiple dialogs open
Post by: JoaoAfonso on May 05, 2008, 05:06:34 PM
Code of course is not secret :) I was with hurry and thought was something simple (as it was). Indeed, ESC key is set for ID 2.

Thank you :)