Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving list items with mouse

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
Does anyone know of any method, code or control that I could use to move order of the items in list box with a mouse.

So if I have three things in a list box

CAT
DOG
BIRD

I would like to grab DOG with my mouse and move it up above CAT.

Is that possible?

Thanks.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
From the horse's mouth itself; at least I think it's from the mouth, but could be from the other end! It gives a couple of examples of simulating Drag & Drop, from form to form and list box to list box. You probably could modofy the later:


And since I see you're a gun for hire, this might be worth the money to you:


The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Thanks.

I like your slogan about the cat. I use to have a simular slogan in these forums. "There's more than one way to skin Access"

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
And where are you from, son? With a name like Lonnie it's bound to be somewhere that grits are served!

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
The midwest. Kansas. Where you can have a fancy suburban neighbor on one side and a farm with cows on the other side of ya.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Been there, done that, the best of both worlds!

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top