How can I reinitialize the event handler

Ned Konz ned at bike-nomad.com
Sun Apr 7 18:02:31 UTC 2002


On Sunday 07 April 2002 10:59 am, ducasse wrote:
> I will retry my experience but what I noticed is that when I was adding
> handleMouseOver: and mouseEnter mouseLeave if I had previously a morph form
> the class it would not react and I had to recreate an instance t=of the
> class. There is in this case the event would work.

You should be able to define

handlesMouseOver: evt
   ^true

mouseEnter: evt
   ... whatever

mouseLeave: evt
   ... whatever

and have it work fine when you re-define mouseEnter: or mouseLeave:

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list