Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dragging items from one control to another?

Status
Not open for further replies.

JoshuaAnthony

Programmer
Dec 17, 2003
20
0
0
AU
Hi all,

Is it possible to drag items from one control to another in Access? I assume I will need to use MouseDown and MouseUp events but I don't know how to tell whether the cursor is over a particular control when these events occur.

NOTE: My controls are continuous subforms if that makes any difference at all...

Any suggestions?

Thanks,

Joshua
 
This is a piece from Access Help:

"The MouseMove event is generated continually as the mouse pointer moves over objects. Unless another object generates a mouse event, an object recognizes a MouseMove event whenever the mouse pointer is positioned within its borders."
 
Sweet, should be able to figure out an algorithm from here. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top