Depending on which build, there have been issues.  Does it work for 
mx:TextInput?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of blc187
Sent: Wednesday, July 29, 2009 10:07 AM
To: [email protected]
Subject: [flexcoders] flex 4.0 component focus issue



trying to use tab key to tab through some inputfields in a form but none of my 
components get focus.
anyone have any experience with focus issues using the flex 4.0 sdk?

heres a sample of my code:

<mx:Form width="340">
<mx:FormItem label="Username" width="100%" >
<s:TextInput tabEnabled="true" tabIndex="0"/>
</mx:FormItem>
<mx:FormItem label="Password" width="100%" >
<s:TextInput tabEnabled="true" tabIndex="1" />
</mx:FormItem>
</mx:Form>

<s:Button label="Login" tabEnabled="true" tabIndex="2" />

I am trying to tab through username to password to the login button.
But when I hit tab the focus goes either to the location bar or possibly to the 
app itself (seems like there is a light gray focus rect around the entire app 
at some times).

Also tried this without the form or formitems, just two textInputs and a button 
without any luck.

Has anything changed with the focus manager or enabling tabbing through 
components that I might be missing?

Reply via email to