Hi all
I have some troubles with the following methods..
When I call the method regKey() the shortcut works. After a few actions I try to unregister the same key with Page.unregisterKey but it still fires when I press the shortcut keys.
I'm using Firefox 3.6 and SmartGWT 2.4
Any help would be appreciated.
Any help would be appreciated.
I have some troubles with the following methods..
Code:
public void regKey() { KeyIdentifier debugKey = new KeyIdentifier(); debugKey.setCtrlKey(true); debugKey.setAltKey(true); debugKey.setShiftKey(false); debugKey.setKeyName("r"); Page.registerKey(debugKey, new KeyCallback() { @Override public void execute(String keyName) { SC.say(getID() + " called"); } }); } public void unRegKey() { Page.unregisterKey("r"); }
I'm using Firefox 3.6 and SmartGWT 2.4
Any help would be appreciated.
Any help would be appreciated.