Solved

MS Access 2010 Drag item from list box

Posted on 2013-01-20
3
598 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 84
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
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…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

726 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