in my example, i would like to setfocus onto a button (btn1) after tabbing out of the last datagridcolumn (instead of tabbing thru every row)
<mx:DataGrid id="dg" dataProvider="{dp}" editable="true"> <mx:columns> <mx:DataGridColumn dataField="Company" editable="false"/> <mx:DataGridColumn dataField="Contact"/> <mx:DataGridColumn dataField="Phone"/> <mx:DataGridColumn dataField="City"/> <mx:DataGridColumn dataField="State"/> </mx:columns> </mx:DataGrid> <mx:Button id="btn1" label="hello"/> i tried trapping the 'tab' keydown event and setting focus on to btn1 but doesnt work. any ideas how i can do this regards -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/