LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drag / Drop multiple items from listbox

First time posting -- not sure if Im in the right place...

 

I'm trying to implement a drop event with multiple list box items. Simply dragging between two listboxes with the same vi. I can select multiple items and drag them, but when I drop, only the first one populates in the target listbox. The others disappear. 

 

I've looked through the forums and seen some discussion on this back in 2014 or so, but none of the solutions I've seen presented actually do the trick. 

 

Listbox drag and drop setting are set (Dragging allowed, Dropping allowed, Drag outside allowed). Drag mode set to Move Only.

 

Selection settings set to 0 or more

 

These are the current settings and the ones that seem to make the most sense, but I've tried them all at one time or another. 

 

I've tried exploring the inputs on the Get Drag Drop Data. Currently using LV_Text for the data name and empty string constant for the type . Tried to use an array of clusters of string array and integer (as called for)  for the type, and tried using LV_Listbox_Items for the name (in various combinations) but it doesn't like most of those. Honestly, I don't really understand this part of it. 

 

Anyone have any advice? It seems like a very simple thing I'm trying to do, so I know I'm missing something.

 

Thanks 

0 Kudos
Message 1 of 4
(3,326 Views)

Welcome to NI Forum

Its quite possible to drop more data at a time.

Its always good to share your code so that others will debug on your own code and provide you the proper solution

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 4
(3,293 Views)

Thanks for replying. I figured it out. 

0 Kudos
Message 3 of 4
(3,274 Views)

Its Good that you got answer by your own..

If you got answer its always good to mention the problem you did and how you solved it, so that people whoever faces the same problem will get to know easily/

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 4
(3,261 Views)