Howdy,

Look at PasteUpMorph>>mouseDown.

It appears that if you set the "sticky" property on the submorphs you're interested they can't be picked up.

Otherwise, you could subclass PasteUpMorph and implement mouseDown you're own way.

(I haven't tried this, only looked briefly at the code.)

Good luck.

Marcus Strehlow wrote:
Hi guys,

again, I have to ask a rather interesting question. Say, you have a PasteUpMorph, inside which you have put other elements, maybe other morphs, or images, or something like this. I would like the contents inside to be fixed, meaning that you should not be able to pick up a morph inside the PasteUpMorph and move it around.

Can you guys let me know if this is possible?

Cheers,
Marcus

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners




--
Jeffrey Straszheim
http://straszheim.50megs.com

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to