LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and Drop Listbox

Solved!
Go to solution

Hello

I have written a small vi that assembles text file which I use in other places in my application.

It works fine, but I would like to use drag and drop is this possible,  and if so how do I do it?

Once I have generated my string, - can be seen in upper panel I wold like to be able to drag that into my list box. Ideally I would like to replace the 'insert' 'append' and 'delete' buttons (for the delete button I would create a 'trash' icon that I could drag the list box entry to.

I have attached my vi and associated text support file.

Many thanks

Lee

 

Download All
0 Kudos
Message 1 of 3
(4,501 Views)
Solution
Accepted by topic author LeeBowers1

I can't open your VI (I'm on LabVIEW 2016) but I think this feature is already supported. Just right click on your string and go to advanced >> allow dragging. 

 

You have to highlight the text before you drag it. I think your original idea with buttons sounded pretty clean.

0 Kudos
Message 2 of 3
(4,444 Views)

Good morning

Thank you for your reply

Yes, I have re-thought my application and agree with your comments. I will keep with the buttons, it is a lot cleaner

Regards

Lee

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