A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to drag and drop subtable item on subtable item?



 
 
Thread Tools Display Modes
  #1  
Old August 27th, 2009, 06:06 AM posted to microsoft.public.access
wdsnews
external usenet poster
 
Posts: 170
Default How to drag and drop subtable item on subtable item?

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?


  #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?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.