Have a drink, then set break points on the method that pops up the dialog to make sure it is in fact being re-launched on close and examine the call stack to see why. Once we know why it will be easier to suggest fixes.
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Dunn Sent: Friday, January 23, 2009 6:52 AM To: [email protected] Subject: Re: [flexcoders] Pop-up Window issue Any suggestions on how to stay out of this hole. I am using a button with a click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to drinking... Eric W Dunn Adaption Technologies 281-465-3326 [email protected] ----- Original Message ----- From: "Alex Harui" <[email protected]> To: [email protected] Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central Subject: RE: [flexcoders] Pop-up Window issue I’ve seen something like this where the events in the pipeline get sent to the underlying app and result in dispatching an event that opens the dialog. For example, if you used ENTER to close the window, if someone leans on the ENTER key too long it repeats and the second ENTER goes to the app that activates the button that opened the dialog. You can also get in this hole if you use KEY_DOWN and KEY_UP From: [email protected] [mailto:[email protected]] On Behalf Of Eric Dunn Sent: Thursday, January 22, 2009 12:21 PM To: flexcoders Subject: [flexcoders] Pop-up Window issue Not sure what is going on.. maybe someone can help .. Here is the set up: Main app with a "manage" button. The button opens a pop up TitleWindow where a user can add, update or delete schedules. Once a schedule has been added, updated or deleted, the hanged is pushed to the database and the window should close. I am passing variables in from the parent app. The Issue: The first schedule I delete works fine, the database gets updated and the window closes. Now if I try to open it again and delete another schedule, the window opens, the delete function works but the window does not close. While debugging, I see the correct varaibles passed in on window open, the delete function processes and then the variables revert to the orginal and the window never closes. I watch the code process the commands of close window but it never closes. The! thing that puzzles me most is the variables reverting... Anyone seen this or have an idea on how to resolve? Eric W Dunn Adaption Technologies 281-465-3326<callto:+1281-465-3326> [email protected]

