Mouse Move event will flicker

Mouse Move event will flicker

Post by Tom » Fri, 30 Apr 2004 22:29:55

I have a form with an On_Mouse_Move event for all buttons
that changes the color of the button, and for the Page
Header Mouse_Move event it changes back the color of all

Whenever I move the mouse on the Page Header section, all
buttons will flicker and blink.
Is this a computer problem or an Access problem?


Mouse Move event will flicker

Post by Kailash Ka » Fri, 30 Apr 2004 22:41:31

Most likely the event is called too many times hence the flicker. Mouse_move
is called everytime you move the mouse. So the event is activated several
times for a form or a button even when you never leave the button or the

So you need to track where the last mouse move event occured. And if is
different, take action, otherwise skip.

Kailash Kalyani
MEA Developer Support Center
ITWorx on behalf Microsoft EMEA GTSC


Mouse Move event will flicker

Post by Tom » Fri, 30 Apr 2004 23:14:55

I just used the same program on a different computer and I
have no problem.
Also, even it's repeating the same code; the button
doesn't have to flicker if no changes are made.
Where can I check?


flicker. Mouse_move
activated several
the button or the
occured. And if is