control and mouse position

T

Tim J La Fazia

I would like to get the x,y start position and the x,y finish position of a
control.

I would also like to get the x,y position of the mouse on move when the left
mouse button is down.

TIA!
 
M

Marshall Barton

Tim said:
I would like to get the x,y start position and the x,y finish position of a
control.

I would also like to get the x,y position of the mouse on move when the left
mouse button is down.


Use the control's MouseDown and MouseUp events.
 

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