Currently in the framework, you cannot tab through components like Label, Text and Image. They will not respond with a focus highlight which other controls, like a Button, do. Try your same test case with a Button and you'll see that the controls respond to tabbing in the order specified by tabIndex.
-deepa -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Tuesday, June 20, 2006 6:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tabbing through items in a container Hi there I am trying to build a custom list that allows the same type of cursor tabbing though child items as a list / datagrid. I have created a custom class that extends HBox. I have chosen a container rather than a list to extend from, because I do not want a fixed column width for items. I have tried various test cases to implement tabbing though a container's children with no luck. Ultimately I want to build a custom class that extends a container and dynamically adds child UI-items that can be tabbed through. Alternatively, is there a way to allow for dynamic column sizes for items within a list? Code: <mx:Canvas tabChildren="true"> <mx:Label text="1." /> <mx:Label text="A" tabIndex="0" tabEnabled="true" /> <mx:Label text="B" tabIndex="1" tabEnabled="true" /> <mx:Label text="2." /> <mx:Label text="C" tabIndex="2" tabEnabled="true" /> <mx:Label text="D" tabIndex="3" tabEnabled="true" /> </mx:Canvas> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/