Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MouseMove Event for Screen or Application

Status
Not open for further replies.

billschu

Technical User
Apr 3, 2001
38
US
Hi,

I'm wondering if there is any way to trigger an event when the mouse moves over any portion of the Access screen / application, not just a form or control. The problem is, when the mouse is moved too quickly over a control and then off the form, the mousemove event for the form is not triggered (even though the mouse in fact did move over the form, I guess it is just too quick to register). Once the mouse is off the form then there is nothing I can do to trigger an event.

What I am doing with the control when the mouse moves over it is changing its properties so that it is raised which provides a nice visual effect. When it moves off the control (which is an image, by the way), I want to change it back to flat. The problem is like I mentioned if they move to fast off the control the form mousemove event is not triggered and the control stays raised.

Thanks,
Bill
 
How about:

-- maximising your form, so the mouse will always be over some part of it
-- adding your 'make the control flat' code to the MouseMove events of the Form Header and Form Detail sections as well as to the form itself?

When I tried this, I could not move the mouse anywhere, however fast, without triggering the required event.

I hope this is useful.

Bob Stubbs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top