Try setting focus on creationComplete, or even later than that by using 
callLater


On 8/24/10 11:30 PM, "Arik de Guzman" <[email protected]> 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

Reply via email to