10-22-2015 04:03 AM
Hi people,I am trying to write a vi with with a tree control..i have been able to create a shortcut menu for the parent item by right clicking on the tree control->Advanced->Run-Time->Shortcut Menu->Edit....However ,i would like to create two shortcut menus,one specific for the parent item and the other specific for the child items....any help?thanks
Solved! Go to Solution.
10-22-2015 05:53 AM
I think you need to dynamically create your run-time menu depending on the item that was selected in the tree control. You can do that using the run-time menu events and the menu functions in LabVIEW.
There's a palette for that:
10-22-2015 06:44 AM
problem solved...using the event "shortcut menu acitvation",i have used point row column invoke node to identify the name of the clicked item..then i have have used the "delete munu items" vi from the menu palette to delete the previous short cut menu and insert menu items to create the new shortcut menu