I did this ugly hack
Child>>handleMouseMove: evt
self owner owner owner mouseMove: evt
I would like a cleaner way to handle it.
Le 07/03/2012 11:16, Hilaire Fernandes a écrit :
> Hello,
>
> I have two embedded morphs: a parent and a child.
>
> On the child I want to handle mouse down event,
>
> Child>>handlesMouseDown: event
> ^true
>
> On parent I want to handle mouse down+move event:
>
> There are not distinct handlesMouseMove, only
> Parent>>handlesMouseDown: event
> ^true
>
> Now, events received by child handlesMouseDown are always
> MouseButtonEvent, never MouveMoveEvent, so no chance to answer true or
> false accordingly. I guess MouseButtonEvent is catched first, then other
> mouseMove event discarded
>
> What I want is the child to received clic events, but the parent move
> events. It does not seem possible, am I wrong?
>
>
--
Dr. Geo -- http://www.drgeo.eu