Is it any possibility to get focused or clicked object without setting onfocus and onclick for every object?
Printable View
Is it any possibility to get focused or clicked object without setting onfocus and onclick for every object?
Hi,
Regarding to click. You could set up a Click listener for
and analyze an event target.Code:Ext.getBody()
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