Mouse Cursor Location

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone have any idea how to find out where the Mouse Cursor is inside of
an Access Control on a Form. I need to be able to input Data at specific
locations in a memo field.
 
Does anyone have any idea how to find out where the Mouse Cursor is
inside of an Access Control on a Form.

Look up help for SelStart and SelLength properties.

HTH


Tim F
 
Daryl said:
Does anyone have any idea how to find out where the Mouse Cursor is
inside of an Access Control on a Form. I need to be able to input
Data at specific locations in a memo field.

The mouse's X and Y coordinates are reported to the control's MouseDown,
MouseUp, and MouseMove event procedures. If you just want to know where
the text insertion point is, you can interrogate the control's SelStart
property while the control has the focus.
 
Back
Top