1 Reply Latest reply on Jan 29, 2007 6:30 PM by SymTsb

    always get focus

    oscar7878 Level 1

      HI,

      I have a little application with a dynamic text field and some buttons. I want that users dont have to click on the text field to start writting
      How can I hold focus on the text field?

      Thanks in advance.
        • 1. Re: always get focus
          SymTsb Level 2
          I'm not really sure that you can set the focus but you could try setting the tabEnabled and tabIndex properties for your text field in the actionscript and see if that can set the focus automatically.

          The only event handlers available to text fields are onChanged, onKillFocus, onScroller and onSetFocus. There aren't any methods to set focus either.