We had similar issues, The only thing that we found that could be garaunteed to work was:
Set up a CreationComplete listener and then in the handler use callLater() to invoke a focusManager.setFocus() call for a specific control. For good measure we also found it best to call showFocus after setFocus as well. Anything else breaks under one circumstance or another.. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Try adding one or two callLater's to delay the creation of the third > popup, then have that third popup setFocus to something within. If that > doesn't work you may have to make systemManager.activate calls directly > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Dmitri Girski > Sent: Friday, February 15, 2008 4:07 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Problem with focus in secondary popups > > > > Hi all, > > I bumped into the problem with setting focus to the subsequent popups. > > E.g. first popup is created, then user presses the button on it and > first popup creates second popup and second popup immediately creates > third popup. > > I can't find a way to set focus to the third popup - it still stays in > the first one. > > If I invoke popups manually, i.e. clicking on buttons every time - > there is no problem, every next popup get focus correctly. > > Does anybody know to fix this problem? > > Thanks in advance! > > Cheers, > Dmitri. >