Robust drag and drop capabilities

G

Gerald Sotolov

I am trying to reposition controls dynamically within a
form using the mousepointer to drag a control object to a
new position.

Unfortunately, despite employing Windows(tm) SDK "calls"
and event procedure coding, MS ACCESS seems to prohibit
development (vis-a-vis "intercepted" events) of any
procedural code to emulate the sort of robust drag and
drop capabilities found in many Windows(tm) applications.

Does anybody know of another, more fruitful "direction" in
which I can aim my development efforts to accomplish this
functionality?
 
T

TC

You don't need APIs for that.

MouseDown & MouseMove give you coordinates & button status. Then just move
the control by updating its Left & Top properties. I don't have old code
here to post, but I've done this before, & it works fine.

HTH,
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