Results 1 to 6 of 6

Thread: TextArea focus proplem

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    6
    Vote Rating
    0
      0  

    Default TextArea focus proplem

    I use Ext.form.TextArea and Ext.form.ComboBox. User input text on textarea, and then can select some text from combobox to insert on textarea. How can I set cursor on textarea after 'select' event fires in combobox? (I try use focus() method, but it doesn't work, cursor is in combobox)

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    sounds to me like you're using Ext JS instead of Sencha Touch!

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    Moved to Ext JS help from Sencha Touch help.

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    And you double-posted too (answered in your other thread).

  5. #5
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    Try calling yourTextArea.el.focus.defer(150, yourTextArea.el);

  6. #6
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    Quote Originally Posted by Condor View Post
    And you double-posted too (answered in your other thread).
    closing this one.

Similar Threads

  1. why the Ext.form.TextArea can't get focus???
    By mychirs in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 19 May 2009, 4:54 PM
  2. why the Ext.form.TextArea can't get focus???
    By mychirs in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 18 May 2009, 4:31 AM
  3. move cursor on textarea focus? Can it be done?
    By silcreval in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 1 Jul 2008, 11:16 PM
  4. Focus in textarea
    By silcreval in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 8 Jun 2008, 9:52 AM
  5. Getting mouse focus on a textArea wrapped in a resizable ?
    By jeama797 in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 3 Jun 2007, 12:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •