Drag and Drop a copy
Raab, Andreas
Andreas.Raab at disney.com
Fri May 25 02:17:44 UTC 2001
Ross,
> What's the best way to do this? It looks as if the drag n
> drop protocol is designed for removing M1 from its morphs
> and placing it somewhere else. I want to leave it where it is.
Try something like:
MyMorph>>aboutToBeGrabbedBy: aHand
"Hand out a copy that looks like me"
^ImageMorph new image: self imageForm
BTW, it may be a good idea to position the image morph at the receiver's
position but I think you'll get the general idea.
- Andreas
More information about the Squeak-dev
mailing list
|