I'm trying to pinpoint the mouse location on a form while moving the
mouse over a picture. Does anyone know how to grab the form mouse
location rather than the picture mouse location in a situation such as
this?
Currently I'm capturing the mouse location from the image On Mouse
Move event and I can't get the location, once over the picture, from
the Form On Mouse Move event.
Any ideas?
Dirk Goldgar - 16 May 2008 22:19 GMT
> I'm trying to pinpoint the mouse location on a form while moving the
> mouse over a picture. Does anyone know how to grab the form mouse
[quoted text clipped - 6 lines]
>
> Any ideas?
How about adding the image control's Left and Top properties to the X and Y
values passed to the control's MouseMove event?

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)