Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MS Access 2010 Drag item from list box

Posted on 2013-01-20
3
Medium Priority
?
603 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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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