Even the PopUpManager suffers to a degree. As modules are loaded there seems
to be some confusion as to which FocusManager they belong...  as you press
TAB focus will jump from one module to another as if they were connected.
You can get around this by forcibly triggering activate/deactivate
operations on the modules FocusManager --- as stated in the comments in
FocusManager.as: 

³The SystemManager activates and deactivates a FocusManager if more than one
IFocusManagerContainer is visible at the same time. If the mouse is clicked
in an IFocusManagerContainer with a deactivated FocusManager, the
SystemManager will call the activate() method on that FocusManager. The
FocusManager that was activated will have its deactivate() method called
prior to the activation of another FocusManager.²

I¹ll attach a sample project to the issue for clarity.

Rick Winscot


On 3/14/09 1:42 PM, "aceoohay" <[email protected]> wrote:

>  
>  
> 
> Yes, Alex has been very generous with his time offline, and I will be trying
> his popup approach.
> 
> However I believe the popup solution is a hack in the perjorative sense. I
> believe that the flex language should allow at a minimum the ability to define
> a separate tab loop for each module.
> 
> Paul
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , Alex
> Harui <aha...@...> wrote:
>> >
>> > Paul and I have discussed off line.  He's got a bunch of module panels that
>> we wants to overlap and drag around the screen and have tabbing stay within
>> which ever panel was clicked in and moved on top of the others.  Flex has all
>> of this built-in.  Once he gets his modules popped up, he should be all set.
>> > 
>> > Alex Harui
>> > Flex SDK Developer
>> > Adobe Systems Inc.<http://www.adobe.com/>
>> > Blog: http://blogs.adobe.com/aharui
>> > 
>> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>
>> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On
>> Behalf Of jim.abbott45
>> > Sent: Friday, March 13, 2009 3:21 PM
>> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
>> > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
>> > 
>> > 
>> > Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
>> > 
>> > See:  https://bugs.adobe.com/jira/browse/SDK-16897
>> > 
>> > --Jim
>> > 
>> > 
>> > 
>> > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> ,
>> "aceoohay" <pauls@> wrote:
>>> > >
>>> > > Alex:
>>> > >
>>> > > Neither of these options are practical in the real world (at least my
>>> world) since we have over 135 modules currently, and up to 10 can be loaded
>>> at any one time. We cannot have the cursor willy nilly hopping from module
>>> to module going to panels that are partially obscured by other panels, etc.
>>> > >
>>> > > Does the mx.managers.FocusManager allow the ability to establish
>>> multiple tab loops within a single application?
>>> > >
>>> > > If so, how can this be used to define a tab loop for a single container?
>>> > >
>>> > > If not, is there anything that will allow defining a tab loop for a
>>> container?! With multiple tab loops available on the stage at one time. The
>>> user can use the mouse to jump from module to module.
>>> > >
>>> > > Paul
>>> > >
>>> > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
>>> , Alex Harui aharui@ wrote:
>>>> > > >
>>>> > > > Setting tabEnabled on anything you don't want to have focus is one
>>>> answer. So is non-modal popups.
>>>> > > >
>>>> > > > Alex Harui
>>>> > > > Flex SDK Developer
>>>> > > > Adobe Systems Inc.<http://www.adobe.com/>
>>>> > > > Blog: http://blogs.adobe.com/aharui
>>>> > > >
>>>> > > > From: [email protected]
>>>> <mailto:flexcoders%40yahoogroups.com>  [mailto:[email protected]
>>>> <mailto:flexcoders%40yahoogroups.com> ] On Behalf Of aceoohay
>>>> > > > Sent: Wednesday, March 11, 2009 8:00 AM
>>>> > > > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
>>>> > > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
>>>> > > >
>>>> > > >
>>>> > > > Alex:
>>>> > > >
>>>> > > > Let me restate my primary question;
>>>> > > >
>>> > > &! gt; "...has anyone else tried to create a flex component with ! a
>>> separa te tab loop, if so how did you make it work?"
>>>> > > >
>>>> > > > Since the documentation seems to indicate that FocusManager will
>>>> allow multiple tab loops that was the approach I was investigating.
>>>> > > >
>>>> > > > My primary goal, irrespective of how I do it is to create what I call
>>>> a "tab domain." Whatever it is called, what I need is the ability to define
>>>> a captive group of objects from which focus will never leave by pressing
>>>> the tab key.
>>>> > > >
>>>> > > > Paul
>>>> > > >
>>> > >
>> >
> 
>   
>     
> 
>> 

Reply via email to