3 Replies Latest reply on Aug 1, 2008 6:38 AM by Newsgroup_User

    How to get focus and cursor on textfield on Application load

      Hi,
      In my application I need the focus and cursor on a textInput control as soon the application is loaded.
      The Focus can be set by textInputname.setFocus() in the application creation complete event. This works but
      the cursor do not appear there till the user clicks any where in application area. Is there any way do set cursor on
      the textfield on application load so that if user enter any thing without clicking on application the text should go to that
      textfield.
      I have tried the following things but it do not bring cursor to textInput, only focus is set with this,
      textInputname.setFocus();
      CursorManager.setFocus( 'textInputname' ) ;

      If any one knows the solution please reply...
      Thanks..