PDA

View Full Version : Widget enter event



bunjee
20th April 2008, 14:40
I have a problem with widget's enter event.

I have a small list of widgets.

When I click on the delete button of a widget and thus removing it from my list.
The following one pops under the cursor.

Unfortunately in that case Enter event is not called, since the mouse didn't really crossed the boundaries.

Any way to get a *real* enter / leave event ?

wysota
20th April 2008, 15:25
What do you need enter/leave events for? How do you react on an enter/leave event?

bunjee
20th April 2008, 16:00
I need it for highlighting my widgets.

wysota
20th April 2008, 17:28
You can post an event yourself. If the mouse cursor doesn't move, the event won't be posted by itself.

bunjee
20th April 2008, 21:40
I guess I should be using something like a hoover event or something like that...

Do you have a way of finding which widget is under the pointer ?

wysota
20th April 2008, 22:40
Yes, I do. Did you try searching through the docs?