|verifyKey not working as printed in the Eclipse article [message #1065863]
||Thu, 27 June 2013 21:32
| Janusz Dalecki
Registered: January 2010
In the article "Getting Your Feet Wet with the SWT StyledText Widget" there is an example of using verifyKey of the VerifyKeyListener for StyledText widget. The code checks for two chars being pressed <CTRL>+<X> simultaneously - this code just does not work the event handler is always passed event.keyCode with value 0x40000 (SWT.CTRL) and event.keyLocation with value 0x4000 and event.character is always empty.
Can somebody please clarify this for me? I am missing something or this is genuinely SWT bug.
Powered by FUDForum
. Page generated in 0.03203 seconds