Results 1 to 4 of 4

Thread: Button click with RETURN button on the keyboard too.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    61
    Vote Rating
    0
      0  

    Default Button click with RETURN button on the keyboard too.

    How do I create a button that has the ability to be clicked by the mouse and the RETURN button on the keyboard?

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    If the button has focus, than you can simple use the return key to "click" it.

  3. #3
    Sencha User
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    61
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by sven View Post
    If the button has focus, than you can simple use the return key to "click" it.
    Excuse me, but I'm still inexperienced ...
    Could you post an example in which a button you can click both the mouse clicks by simply pressing RETURN?

  4. #4
    Sencha User
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    61
    Vote Rating
    0
      0  

    Default

    ok, I resolve it. Thanks Sven!

Similar Threads

  1. [SOLVED] Toggle button's pressed parameter return an object
    By ironlion in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 5 Aug 2010, 9:22 PM
  2. Replies: 7
    Last Post: 2 Aug 2010, 9:00 AM
  3. Changing text of the 'Go' Button on Virtual Keyboard
    By airportyh in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 14 Jul 2010, 11:08 AM
  4. getBox() call for Toolbar.Button return 0
    By dddu88 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 16 Nov 2007, 7:36 AM

Posting Permissions

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