crp_spaeth
07-07-2009, 10:58 AM
The BaseClass for all Panels, Views, and so on, Ext.Component should implement focus cappabilities as the Ext.Window does.
I am currently implementing an application with a viewport instead of windows. I would like to implement a Menu that should change depending on the currently active panel.
Beside the Menu I would like to alow the User to Key shortcuts for serveral actions.
The Implementation of a focusable Component would solve the Problems descriped in the following threads as well!
http://extjs.com/forum/showthread.php?t=23880
http://extjs.com/forum/showthread.php?p=299691
http://extjs.com/forum/showthread.php?t=64477
There are many more threads related to the missing capabilities of beeng able to set focus to a Panel/Component.
A solution for the Issue may found in:
http://extjs.com/forum/showthread.php?t=30528
My Suggestion is to Add a focusEl on Component level and relay/add Focus/Active Events to the ComponentMgr Class.
What do you think about that?
I am currently implementing an application with a viewport instead of windows. I would like to implement a Menu that should change depending on the currently active panel.
Beside the Menu I would like to alow the User to Key shortcuts for serveral actions.
The Implementation of a focusable Component would solve the Problems descriped in the following threads as well!
http://extjs.com/forum/showthread.php?t=23880
http://extjs.com/forum/showthread.php?p=299691
http://extjs.com/forum/showthread.php?t=64477
There are many more threads related to the missing capabilities of beeng able to set focus to a Panel/Component.
A solution for the Issue may found in:
http://extjs.com/forum/showthread.php?t=30528
My Suggestion is to Add a focusEl on Component level and relay/add Focus/Active Events to the ComponentMgr Class.
What do you think about that?