[squeak-dev] Re: why cannot the Shift+Tab key be detected?

marcel.taeumel Marcel.Taeumel at hpi.de
Mon Oct 19 16:48:25 UTC 2015


Hi Chris,

putting this into TextEditor >> #dispatchKeyboardEvent: brings the expected
effect:

(aKeyboardEvent shiftPressed and: [aKeyboardEvent keyCharacter = Character
tab])
	ifTrue: [self halt].

So, everything works fine. Maybe it is because those text editors handle
those events and the Morphic event handler does refuse to handle them? Where
do you try to handle it? You have to use TextMorphForEditView, because the
PluggableTextMorph(Plus) gets keyboard events only in rare occasions...

Best,
Marcel



--
View this message in context: http://forum.world.st/why-cannot-the-Shift-Tab-key-be-detected-tp4856508p4856519.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list