View Single Post
  #2  
Old August 27th, 2009, 08:57 AM posted to microsoft.public.access
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default How to drag and drop subtable item on subtable item?

Hi

Check out Doug Steel's really good stuff regarding drag and drop (and sample
DB)

http://www.accessmvp.com/DJSteele/SmartAccess.html


--
Wayne
Manchester, England.



"WDSnews" wrote:

In ObjectPal, one of my favorite tricks was to capture the mouse down event,
fill a hidden textbox with the contents of a subtable record the user is
clicking on, then move the hidden textbox over top the subtable and make the
textbox visible. Next, the textbox would track the movements of the mouse
as the user held down the mouse button and hovered over a second subtable.
Upon releasing the mouse button, a new record would be created to relate the
two pieces of information. For example I used this technique for assigning
resources to a project, or students to a classroom.

If a user pressed down the mouse button over a subtable, how can I know
which record they're selecting?
If they release over a second subtable, how can I know which record they're
dropping on?
How can I capture fine increments of mouse movement to position my textbox?