By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 2,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

Using the MouseMove event to determine the mouse pointer location

P: 2
Hi there I'm in need of some help concidering the MouseMove event in access.

First off, I know how to retrieve X and Y coordinates using

Expand|Select|Wrap|Line Numbers
  1. Object_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
The problem is that I am making the Form from scratch using the CreateForm method. This new form should then have a details section with the MouseMove event. This is where I am stuck.

I tried using a API event call but the X and Y coordinates I get are from the entire screen and of course not the current access window (or form).

Anyone have a smart idea how to solve this?

Thanks in advance
May 17 '07 #1
Share this Question
Share on Google+
2 Replies

P: 2
Never mind, found the CreateEventProc to solve the problem :)
May 17 '07 #2

Expert Mod 10K+
P: 14,534
Never mind, found the CreateEventProc to solve the problem :)
Glad you got it sorted. For further information check out this tutorial.

Using the MouseMove Property
May 22 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.