SmartClient Version: v9.1p_2014-06-30/LGPL Development Only (built 2014-06-30)
I am trying to do something similar to the following:
However, the KeyIdentifier class supports the methods setAltKey, setShiftKey, and setCtrlKey, but it does not support setMetaKey.
Is there a way to set up a handler for key combinations that use the Meta key on the Mac, or is this functionality missing?
I am trying to do something similar to the following:
Code:
KeyIdentifier delKey = new KeyIdentifier(); delKey.setMetaKey(true); delKey.setKeyName("DEL"); //$NON-NLS-1$ Page.registerKey(debugKey, new PageKeyHandler() { public void execute(String keyName) { // Do some work } });
Is there a way to set up a handler for key combinations that use the Meta key on the Mac, or is this functionality missing?
Comment