02-19-2018 09:17 AM
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
Solved! Go to Solution.
02-20-2018 11:04 AM
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.
02-21-2018 03:30 AM
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