LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Drag Drop Child

Solved!
Go to solution

Tree control allow user to drag and drop child on child and child in between child.

I am trying to disable or restrict user to drag or drop child on child only allowed to place child between child.

Something similar to TestStand sequence file.

0 Kudos
Message 1 of 4
(3,491 Views)

Can you post an example so we don't have to start from scratch to help you out?  Show what you want to allow and what you are trying to prevent. 

aputman
0 Kudos
Message 2 of 4
(3,482 Views)

Hello Aputman,

 

Please find attached VI.

 

 

image.png

0 Kudos
Message 3 of 4
(3,434 Views)
Solution
Accepted by topic author Testek

You can right click each item (add, sub, mult, div) and select Child-Only Item.  This will prevent creating new parents when reordering items.  However if you create another parent item underneath Math, you will be able to drop these Child-Only items under that new parent.  

aputman
Message 4 of 4
(3,420 Views)