I found I have to override #keyboardFocusChange:, but it is far from a good solutions. Basicly I want to show/hide a virtual keyboard only for text edit morph, and when I want it.
Thanks Hilaire Le 22/05/2012 18:15, Igor Stasenko a écrit : > you will probably need to hook in at > > HandMorph>>newKeyboardFocus: > > On 22 May 2012 17:38, Hilaire Fernandes <[email protected]> wrote: >> Hello, >> >> I need to take an action when an arbitrary morph got the keyboard focus >> (a text morph). >> >> How can I set up such an action for a given morph? >> >> Of course I don't want to override the given morph. Ideally I want to >> pass a block of code to execute whenever the focus changes. >> >> Thanks >> >> Hilaire >> >> > > >
