[Newbies] Passing methods to buttons

K. K. Subramaniam subbukk at gmail.com
Thu Jan 15 08:24:19 UTC 2009

On Thursday 15 Jan 2009 12:03:03 am Filip Malczak wrote:
> Propably I got it all wrong, so if anyone can explain me how to create
> button and give a special action for clicking (any button, not only red)
> from code level, I'd be VERY pleased.
Any morph can act as a button. Just add a method "handlesMouseUp:" to return 
true based on the event passed as argument and handle the event in mouseUp: 
method. See the section "Adding Interaction" in

HTH .. Subbu

More information about the Beginners mailing list