01-06-2010 10:03 AM
how do i drag and drop from Multicolumn listbox to another Multicolumn Listbox?/...any example..
use LABVIEW 8.2.1
regard's
eyal.
01-06-2010 10:06 AM
01-06-2010 11:39 AM
01-07-2010 01:22 AM
thank's robweaver it's working fine.
but if i want to drag and drop in the TARGET to rerange the row's how do i do this?//
01-07-2010 03:04 AM
right click on the multiclumn listbox->Drag and Drop and select "allow dragging" and "allow dropping" option. Now you should be able to rearrange the data.
Guru
01-07-2010 05:25 AM
i did that but it's not working....
01-07-2010 07:55 AM
To drag and drop within the target listbox you'll have to add a Drag Starting? event for the target listbox and register that drag data with a different adn unique Drag Data Name, then in the Drag Enter? event check for that data name as well before accepting the event, and then in the Drop? event for the target listbox handle the new data name as well. You can use the Point to Row Column invoke method to determine which row, column, or cell is being manipulated. I've created a VERY crude example of this, but you'll have to get more creative with how you handle the moving of rows, columns, etc. for the target listbox, but I think it gives the general idea. Hope this helps!
-rw
01-08-2010 03:22 AM
i hope you got solution for drag and drop from one control to another and its working fine.
Now i understand that you would like to rearrange the "target control" then select the "move only " options in the "drag mode" (right click on the control and select the "drag and drop" option.
If you want to duplicate the value in the control use the option 'copy only'
Guru
01-08-2010 09:29 AM
01-10-2010 12:54 AM
hi Guruthilak
may thank's solution and it's working fine.
thanks
eyal