LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the drop event of the tree control in LabVIEW 8.20?

Hi,
            I am using the two tree controls in my application to provide a option for the user to drag and drop item from one tree to the other.  I have to validate the user selection. I tried to capture the user drop event  using the event structure. The problem I am facing is, I am not able to drop the item even though i have wired a constant true to the filter(Accepted?) in the event case. I have enable the property(Allow droping) in the right menu of the tree control also.
 
          While configuring an event case for (drop, drag entered and some thing like this) only I am getting the problem otherwise it is working fine.  
 
What do i need to do to caprture the drop event ?
 
Is there any way to avoid the item duplication while droping a new item in the tree control ?
or how can i do this?
 
Thanks,
Pandiarajan R
0 Kudos
Message 1 of 2
(2,639 Views)
Hi Pandiarajan,

I hope you are doing well today! There is a lengthy discussion on the Tree Control Drag & Drop feature at this forums post including contributions from the developer of the Drag & Drop feature:
Tree Control Drag & Drop in LabVIEW 8

By avoiding item duplication, do you mean that you don't want the same item to be in the old tree control or do you not want more than one item in the new tree control?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 2
(2,617 Views)