[CLOSED] Get focused object

  1. #1

    [CLOSED] Get focused object

    Is it any possibility to get focused or clicked object without setting onfocus and onclick for every object?
    Last edited by geoffrey.mcgill; Apr 12, 2012 at 1:20 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Regarding to click. You could set up a Click listener for
    Ext.getBody()
    and analyze an event target.

    Regarding to focus. I can't see any way to achieve your requirement. I would set up a focus listener for all components.

    You can go through all Ext.NET client components using the following thing:
    http://docs.sencha.com/ext-js/3-4/#!...r-property-all

Similar Threads

  1. [CLOSED] Uncaught TypeError: Object #<Object> has no method '***'
    By Sevilay Tanış in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Mar 27, 2012, 4:44 PM
  2. Replies: 11
    Last Post: Feb 29, 2012, 3:57 PM
  3. Replies: 0
    Last Post: Oct 21, 2011, 3:04 AM
  4. Replies: 1
    Last Post: Sep 13, 2011, 5:19 PM
  5. Replies: 0
    Last Post: Apr 14, 2009, 12:33 PM

Posting Permissions