Is the popup an IFocusManagerContainer? Otherwise it won’t have its own focus loop.
On 8/26/10 4:46 PM, "Arik de Guzman" <[email protected]> wrote: Hi, thanks alex for taking time to reply. I tried that also, but when i set the creationComplete to setfocus on my text input which is located inside a form, When i Tab, instead of going to the next form item which is another textinput, the popup container loses focus, and next focus is the parent container that called it which is the main application container, windowedapplication. --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aha...@...> wrote: > > Try setting focus on creationComplete, or even later than that by using > callLater > > > On 8/24/10 11:30 PM, "Arik de Guzman" <arik...@...> wrote: > > > > > > > Hi, > > just made a switch from Flex Builder 3 to FB 4, and encountered a problem in > tabbing when i create an instance of a custom component using the > PopUpManager. When i tab inside the fields of the pop up, > it goes to the container under it. > > my scenario would be : > > WindowApplication initialize calls the custom pop-up that acts as a login > system > > username.setFocus on initialize of the custom component > > when i tab to go to set focus on the next component(Text-input), instead of > going to the next field, it goes to the component under the popup, which is > the main container. > > in FB3, i usually just set the tabIndex into a static hierarchy, already > tried that one but seems that it works differently in FB4. > > also tried the TabEnabled, TabChildren on the fields or the container, but no > luck. > > suggestions and inputs are very much appreciated. thanks in advance. > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

