Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » verifyKey not working as printed in the Eclipse article(verifyKey not working as printed in the Eclipse article)
verifyKey not working as printed in the Eclipse article [message #1065863] Fri, 28 June 2013 01:32 Go to next message
Janusz Dalecki is currently offline Janusz DaleckiFriend
Messages: 60
Registered: January 2010
Location: Sydney
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.

Re: verifyKey not working as printed in the Eclipse article [message #1066490 is a reply to message #1065863] Tue, 02 July 2013 20:28 Go to previous message
li ran is currently offline li ranFriend
Messages: 11
Registered: June 2013
Junior Member
answered at
Previous Topic:set selected columns' width to be equal in Gridlayout, rather than all columns are equal
Next Topic:custom widget in tab order
Goto Forum:

Current Time: Tue Sep 19 13:49:21 GMT 2017

Powered by FUDForum. Page generated in 0.02978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software