header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
flexxx
Points:90
Posts:0
Answered

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...



1
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

2
flexxx
Points: 90
Posts:0
7/7/2010 11:20:20 PM



Then any idea about its replacement in flex 4.

3
Inder
Points: 2620
Posts:0
Accepted Answer
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"


4
flexxx
Points: 90
Posts:0
7/8/2010 3:59:47 AM



Thnx...that works.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions