(newbee) Action on click?

Marcus Pedersén marcus.pedersen at comhem.se
Tue Nov 15 21:44:07 UTC 2005


Hi!
I have made a morph and when I leftclick (red?) on it I want to make my own CustomMeny to appear.
Do I have to subclass Morph and override message: mouseDown: evt?
Or can I do it another way with the existing Morph class?
Or am I on the wrong "path"?
The reason that I do not want to subclass Morph is that it is a realy simple Morph and it feels unnessesary to make a new class just because I want to override one message.
Many thanks in advance!
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051115/7f51f6d7/attachment.htm


More information about the Squeak-dev mailing list