[Newbies] EventHandlerPlus and mouseOver

Enno Schwass ennoausberlin at mac.com
Tue May 20 08:44:03 UTC 2008


Bert Freudenberg <bert at freudenbergs.de> writes:

Hello Bert

>> I am using Morphic to display some geographical maps. For easier
>> testing, I would like to see the current position of the HandMorph
>> as LabelString at the bottom of the map window.
>> But I have to dig deep into morphic event handling to do this.
>> At least I am unable to figure it out.
>> I found the class EventHandlerPlus that might help here.
>> Could you provide some informations about that?

> Why don't you use something simple like this?
> (UpdatingStringMorph on: ActiveHand selector: #position) openInHand

Because I wasnt aware of this. The class library is still surprising me 3
times a week. It probably fits perfect. Thanks. You saved my day.

But nevertheless I want to know, in what situations EventHandlerPlus is
used. Just to get an idea about how to handle mouseOver:

Have a nice day
Enno


More information about the Beginners mailing list