LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Edit PopUp Menus?

Is there an easy way to modify the runtime popup menus for front panel objects (like graphs, for example)?  I'd like to remove some options that I don't want users to pick and add some new ones of my own.  The only way I could think of to do this is to capture mouse down events and then make my own menu, duplicating the actions of any items I'd like to keep, which seems like a painful work around. 
 
If the answer is "not now," is there any plan to add this ability to future versions?
 
Thanks,
Eric
 
0 Kudos
Message 1 of 3
(2,675 Views)
As for right now there is no way to do that except for the way you described. Here are some vi's that will help you.



Joe.
"NOTHING IS EVER EASY"
Message 2 of 3
(2,655 Views)
Platform independent popup menus can also be realized using pure G.
Try the attached example (LabVIEW 7.1, but would work in older versions too).
My simple example so far does not support nested menus but there are examples for that, too.
See, e.g., the discussion at the OpenG-forum:

http://forums.openg.org/viewtopic.php?t=31&start=0&postdays=0&postorder=asc

Regards

Arno
Message 3 of 3
(2,638 Views)