2 Replies Latest reply on Mar 6, 2012 3:48 PM by Maximist

    How to manage focus in custom component

    Maximist Level 1

      Hallo. As you know some flex components have native focus, like buttons, textinput etc.. I have created a custom component which is a borderContainer.. As you know, by default, if user press TAB my BorderContainer will never receive the focus.. I tryied to set some property like setFocus() and tabFobusEnabled to true but i still have some focus problems with my borderContainer .. It is like my App knows that my Custom component is not a native component.. Is there a way for my component to receive focus without problems??.. Which is the best way for doing that??

       

      Thx a lot

       

      Max