Mouse Move event will flicker

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

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
buttons.

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?

Thanks
Tom
 
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
form.

So you need to track where the last mouse move event occured. And if is
different, take action, otherwise skip.
 
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?

Thanks
 
Back
Top