Bringing a window on top on mouse over
Frank Urbach
frank.urbach at schmees.com
Wed Feb 7 11:40:53 UTC 2007
Hi Cedrick,
With the silent help from Lukas :-) (Eventhandling in Mondrian) you could try this:
Subclass a Morph or SystemWindow or whatever you want. After this implement following:
#handleMouseOver: anEvent
super handleMouseOver: anEvent.
anEvent hand newKeyboardFocus: self.
self mouseOver: anEvent
and
#mouseOver: anEvent
self activate.
anEvent wasHandled: true.
It works for me in a 3.9 image.
HTH
Cheers,
Frank
-------- Original Message --------
Subject: Bringing a window on top on mouse over (07-Feb-2007 11:48)
From: Cédrick Béler <cbeler at enit.fr>
To: frank.urbach at schmees.com
> Hi
>
> Do you know if there is a way to bring morph on top just by moving the
> mouse over...
>
> Thanks
>
> Cédrick
>
More information about the Squeak-dev
mailing list
|