I plan to add slowly but steadily announcements to well known events in morphic for 2.0 - focused - lost focus - when selection changes
focus seems to be a good next step :) On Tue, May 22, 2012 at 6:53 PM, Stéphane Ducasse <[email protected] > wrote: > > On May 22, 2012, at 6:39 PM, Hilaire Fernandes wrote: > > > 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. > > I do not have the answer but this is important to have such scenario when > we will start to modify > Handmorph. > > Stef > > > > > 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 > >>> > >>> > >> > >> > >> > > > > > > >
