LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drag & drop and move data accordingly

Hi!

This is not a question. I just thought that this might be useful for somebody facing same or similar problem.

Imagine you have Listbox where you can move the rows and you need to move data items accordingly. If the data array you have is significantly big you don't want to reorder the whole array since it would cause new memory allocation. It is easier to rather delete particular moved data item (row, page) and insert it to new position. Situation is more complicated if you want to preserve the default Drag and Drop behavior and if you move more items at time. 

Attached VI shows how to handle that. LV 2009

LV 2011, Win7
Message 1 of 2
(3,447 Views)

You should post this on the "Labview idea exchange" section

 

Regards

0 Kudos
Message 2 of 2
(3,438 Views)