[CLOSED] Button Focus

  1. #1

    [CLOSED] Button Focus

    Good day guys,

    Is there a way to determine if a button currently has the focus. I tried button.hasFocus but that did not work.
    Last edited by Daniil; Mar 15, 2011 at 7:11 AM. Reason: [CLOSED]
  2. #2
    Hello,

    Yes, the Button doesn't have .hasFocus property.

    Please use
    Button1.el.hasClass('x-btn-focus');

Similar Threads

  1. Change button look on focus.
    By Rupesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 11, 2012, 10:02 PM
  2. [CLOSED] Set Focus to OK button in Ext.Msg.Show
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 13, 2011, 1:12 PM
  3. [CLOSED] Button focus style
    By jeybonnet in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 28, 2011, 12:11 PM
  4. Button Focus Cls
    By David Pelaez in forum 1.x Help
    Replies: 2
    Last Post: Feb 25, 2011, 7:07 AM
  5. [CLOSED] Setting No button Focus in the message box
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 19, 2010, 8:07 PM

Tags for this Thread

Posting Permissions