[flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Dmitri Girski
Alex, thank you very much for the help. You just saved me from madness after 4 days I spent with this problem. Only one thing I want to mention: if I use a mixture of automatic & manual popups generation, I still have to call manually fSetFocus() in the parent. PS I've updated the code in exampl

RE: [flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Alex Harui
); m_bFocused = true; } -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Wednesday, February 20, 2008 3:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem with focus in secondary

[flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Dmitri Girski
Hi Alex, I have created a simple test case: http://mitek.id.au/TestPopUpSimple.html Source: http://mitek.id.au/PopupFocus.zip http://mitek.id.au/CMyPanel.as - is the base class for the popup window - it performs all the focusing stuff. Actually this class can focusing without any problem BUT o

RE: [flexcoders] Re: Problem with focus in secondary popups

2008-02-19 Thread Alex Harui
systemManager.activate From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Tuesday, February 19, 2008 7:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem with focus in secondary popups Hi guys

[flexcoders] Re: Problem with focus in secondary popups

2008-02-19 Thread Dmitri Girski
Hi guys, it's me again. Still with my boring focus problem. Ralf & reflexactions - I've learnt how to place focus in the control in the popup. But bloody hell - the TAB focus is still in the parent popup. So, if I subscribe for ESC key in the third popup - everything is OK, everybody is happy.

[flexcoders] Re: Problem with focus in secondary popups

2008-02-16 Thread reflexactions
Yep thats what we do. --- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > You could dispatch a close event to the view, which opened the popup > Cheers > Ralf. > > On Sat, Feb 16, 2008 at 1:38 PM, Dmitri Girski <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > >

Re: [flexcoders] Re: Problem with focus in secondary popups

2008-02-16 Thread Ralf Bokelberg
You could dispatch a close event to the view, which opened the popup Cheers Ralf. On Sat, Feb 16, 2008 at 1:38 PM, Dmitri Girski <[EMAIL PROTECTED]> wrote: > > > > > > > Thank you, Alex and reflexactions! > > Your advices helped to move forward I can create popups and set focus > without a probl

[flexcoders] Re: Problem with focus in secondary popups

2008-02-16 Thread Dmitri Girski
Thank you, Alex and reflexactions! Your advices helped to move forward I can create popups and set focus without a problem. But there is another thing - I have to return focus correctly to the first popup window after second & third popups closed in one click. Cheers, Dmitri.

[flexcoders] Re: Problem with focus in secondary popups

2008-02-15 Thread reflexactions
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