From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,135 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
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 4
(3,126 Views)

Hello Aputman,

 

Please find attached VI.

 

 

image.png

0 Kudos
Message 3 of 4
(3,078 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
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
Message 4 of 4
(3,064 Views)