Robust drag and drop capabilities

  • Thread starter Thread starter Gerald Sotolov
  • Start date Start date
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?
 
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
 
Back
Top