Feb. 11, 2015
9:58 p.m.
Le 11/02/2015 21:19, Stephan Eggermont a écrit :
I'm trying to keep a line morph connected between two morphs while moving one of them. When I add the morph to the hand and start dragging the morph no longer receives mouseMove:. I can think of several ways to get position updates. Is there a best/easy way?
Stephan
I tried something like bellow but it did not produced any output in the transcript. Only "b doAnnounce: MorphChanged" produce an output in the Transcript. Not sure how to get an anonymous morph to announce changes. | b | b := BorderedMorph new color: Color red. b onAnnouncement: MorphChanged do: [ Transcript show: 'Changed' ]. b openInWorld -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu