[Q] moving morphs without the halo

Ned Konz ned at bike-nomad.com
Mon Apr 7 14:50:36 UTC 2003


On Sunday 06 April 2003 03:14 pm, Martin Drautzburg wrote:
> I want to move a morph without picking it up. The halo can do this,
> but I want to drag the morph directly.
>
> I got lost in chess moves and many other "move" methods. Could
> someone help me here ?

Just set up a mouse-down handler that sets mouse focus to your mouse, 
a mouse-up handler that releases the focus, and a mouse move handler 
that re-positions the morph.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list