View Full Version : How can i make the tabs stop taking over the page up/down home/end keys?

12 Jan 2010, 11:37 AM
I realized in my program if I hit home, the tab change and not the school to the top.

Once the tab takes over the page up and page down changes the tab and i cant make it take the context scroll bar.

19 Jan 2010, 4:34 PM
so do I have to extend the class and remove the listener? or is there a better way to becuase on the api I dont see any info on removing the hotkeys.

20 Jan 2010, 10:53 PM
This is fixed in 2.1.1. See http://www.extjs.com/forum/showthread.php?t=90172. If you wanted a workaround, you could override TabPanel onKeyPress and do not call super.

TabPanel panel = new TabPanel() {
protected void onKeyPress(ComponentEvent ce) {


21 Jan 2010, 1:40 AM
k thx, i did override it later on. but that seemed like a bad way to fix it on my end. but glad to hear it is fixed in the new version.