7/7/2010 7:14:50 AM
Title:
tab key focus issue with item renderer
Hi..
I am using List with custom itemrenderer. I want to navigate the focus on the text areas which are created in the item renderer with the tab key.
I read the content in the following link...
http://askmeflash.com/qdetail/704/itemrenderer-s-textinput-textarea-focus-problem-on-keyboard-tab-key
But now the problem is that I am getting error on the following lines:
this.listContent.tabChildren = this.tabChildren;
this.listContent.tabEnabled = this.tabEnabled;
I am using the flex 4 and extending the List.....I think these are the only differences with problem solved in link and in my problem.
Any solution...
Tyson
Points: 550
Posts:0
7/7/2010 11:25:37 AM
flex 4 uses spark componenets so the spark compoenent List must not be having the above 2 properties so giving eror
7/7/2010 11:20:20 PM
Then any idea about its replacement in flex 4.
Inder
Points: 2620
Posts:0
7/8/2010 3:08:39 AM
no need to extend the class for flex spark List component. You can set the property hasFocusableChildren to true to make children recieve the focus. set the property inside the List tag .
<s:List hasFocusableChildren="true"