LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown in tree control (Similar to tree control in NI installers)

I am in need of a tree control with a dropdown menu as shown below. NI installers have such controls in the installation UI wherein we can click on item symbols and select the function. I can make use of custom runtime shortcut menu for tree control but i cannot add custom symbols other than checkmarks to those menu items.

 

Is there a way to achieve this?

 

TestStand Installation.png

Anand kumar SP
Senior Project Engineer
Soliton Technologies Pvt Ltd
0 Kudos
Message 1 of 2
(2,794 Views)

There are probably many ways to do this.  The first that comes to mind is to make custom symbols for the tab items that look like the disk drive.  Then have an event for Mouse Down on the tree control.  Then using the coordinates and an invoke node you can detect if the mouse is over the symbol when the mouse down happened.  If it is then call a subVI to sit on top of the tree that looks like the menu item.  Then on value change of click the item change the symbol of the disk drive on the tree.  It isn't simply by any means but can be done, and would probably look pretty slick in an application.

0 Kudos
Message 2 of 2
(2,771 Views)