Question multi select, drag and drop

planem997

New member
Joined
Oct 6, 2009
Messages
1
Programming Experience
Beginner
help, i have been given the task of making a small program in vb.net to have two list boxes. The first list box contains the data and the second one is blank, when you select the one bit of data from the first list box it can be draged and droped into the other list box. my task is to make it so you can select multiple bits of data from the first list box and all that is selected is draged over to the second one when you drag and drop it.

please help me

thanks

Adam
 
JohnH has a great example drag-drop-between-two-listboxes.
You will need to work out the logic for multi-select. I like to use the mouse move event to start the DoDragDrop - which means it will not start the process while you are selecting multiple items just when you are holding the button down and start moving. :cool:
 
Last edited:
Back
Top