07-31-2013 06:04 AM
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?
07-31-2013 02:38 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord