Dec 14, 2010 at 4:50 PM

Hi, I have some problems when I call the MouseEnteredEvent()...

I used these instruction

b is a G2DButton

b.MouseEnteredEvent += new MouseEntered(b_MouseEnteredEvent);

void b_MouseEnteredEvent()
            label1.Text = "Hello!";

Sometimes it does and sometimes not

I saw in G2DComponent.cs file a comment that said:

 // FIXME: need fix for enter and exit event for boundary cases!!

Instead if I use the MouseDraggedEvent for a button it Works!

Why??? Thanks for attention!


Dec 14, 2010 at 5:10 PM

Yes, the enter and exit algorithm has a problem, so if you need stable one, you shouldn't use those events.