Solved

MS Access 2010 Drag item from list box

Posted on 2013-01-20
3
601 Views
Last Modified: 2013-01-20
I want the user to be able to drag an item out of listbox A, bound to a table,  into unbound listbox B  OR unbound listbox C.  Seems like it should be simple, but I've been messing with it for hours with MouseDown, MoseMove events, but while mouse button is held down to drag, listbox A does not seem to lose focus.  Has anyone does this?
0
Comment
Question by:jriggin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 38799203
Peter's Drag N Dropper is going to be the closest thing to doing this - the sample db does have a List box example - and I've used this several times:

http://www.peterssoftware.com/dd.htm

And ... re: "Seems this s/b simple .." ... well, not really.

mx
0
 
LVL 85
ID: 38799374
No points please -

There is no native drag-drop capability with Access controls. You can drag-drop some things  into an Access form or control, but moving items between two Access controls like that is just as mx said - you can't do it.

I too use Peter's DnD, and it works pretty nicely.
0
 
LVL 1

Author Closing Comment

by:jriggin
ID: 38799559
Thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question