to obtain position of the records of a form

  • Thread starter Thread starter TC
  • Start date Start date
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
 
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...
 
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.
 
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.
 
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
 
Back
Top