[Q] disable Morphs

Scott Wallace scott.wallace at squeakland.org
Wed Dec 11 19:55:58 UTC 2002


Hi, Chris,

Try sending it the message #lock.

Or, equivalently, from the UI, check the "be locked" checkbox in its halo menu.

Or perhaps you only want it not to be so easily "picked up" by a 
casual mouse action; if so, instead send it "beSticky" or, from the 
UI, check the "resist being picked up" checkbox from its halo menu.

Cheers,

    -- Scott


At 8:31 PM +0100 12/11/02, Chris Burkert wrote:
>Hello
>
>  How can I 'disable' a RectangleMorph ? I think of putting another 
>transparent Morph over it. That way MouseEvents are not processed. 
>Would you prefer another way ? I don't want to change each of the 
>submorphs, because it would be more easy to implement #disable in a 
>abstract class.
>
>thanks
>            Chris Burkert



More information about the Squeak-dev mailing list