From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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 control double click default behavior

Solved!
Go to solution

Hi all,

Tree control have default behavior that expand/ collapse item when double click event occurs on parent item.

How do I to avoid this behavior to use custom double click event without open close nodes?

 

Thanks,

regards

0 Kudos
Message 1 of 3
(3,258 Views)

Hi,

I was not able to disable the default event however I realized a VI that could be useful for you.

I've used a method to force all the tree items to be collapsed.

 

Take a look at the attached image.

Regards,

Alex

0 Kudos
Message 2 of 3
(3,241 Views)
Solution
Accepted by topic author euTeam

Thanks but I found solution filtering open item/close item events like in picture.

Regards

Message 3 of 3
(3,183 Views)