[Etoys] Focus on a stringMorph embedded in a PastupMorph
abee at squeakland.jp
Wed Jan 16 12:42:49 EST 2008
I think you need to set a handler variable of an MouseButtonEvent like
anEvent := MouseButtonEvent new
position: aStringMorph bounds center
hand: aStringMorph currentHand
anEvent handler: aStringMorph owner.
aStringMorph launchMiniEditor: anEvent.
2008/1/17, Hilaire Fernandes <hilaire at ofset.org>:
> I have a pasteupmorph wtih a StringMorph into it.
> When I request (through an external command) edit with the
> launchMiniEditor, I immediately lose the the focus of the string
> morph. To get it working I first need to click in the background of
> the PasteUpMorph.
> I have tried various message for keyboard/mouse focus without success.
More information about the Etoys