to obtain position of the records of a form

T

TC

Frank Dulk said:
In a continuous form,
would like to obtain the position of the registration in that the mouse is
passing...
how do I make that?
I tried to use the property CurrentRecord, but it only works for where the
cursor is and not the mouse...


You use the MouseMove event to see where the cursor is, then translate the
Y-coordinate to a record number, using a knowledge of the (fixed) height of
each record slot.

What are you actually trying to do?

HTH,
TC
 
F

Frank Dulk

In a continuous form,
would like to obtain the position of the registration in that the mouse is
passing...
how do I make that?
I tried to use the property CurrentRecord, but it only works for where the
cursor is and not the mouse...
 
S

Stephen Lebans

Frank see:
http://www.lebans.com/conformscurcontrol.htm
ContinuousFormsCurrentRow.zip is a class that allows you to
programmatically access the contents of a bound control, as the user
moves their Mouse, but the control does not have the focus. For Forms in
Continuous View.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
M

Mike Painter

TC said:
You use the MouseMove event to see where the cursor is, then translate the
Y-coordinate to a record number, using a knowledge of the (fixed) height of
each record slot.
That won't work unless all the records show in the window.
 
T

TC

Mike Painter said:
mouse
That won't work unless all the records show in the window.

If there are enough records then it is *impossible* for all of them to show
in the window.
If you can't tell me that, I can't make any other suggestions!

Bye,
TC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top