lukasdev Posted April 8, 2017 Report Posted April 8, 2017 Hi. How to activate and deactivate shortcut menu in selected items ? Quote
hooovahh Posted April 10, 2017 Report Posted April 10, 2017 http://zone.ni.com/reference/en-XX/help/371361J-01/glang/set_menu_item_info/ Set Menu Item Info Quote
lukasdev Posted April 10, 2017 Author Report Posted April 10, 2017 I did not ask this. To the "listbox" list, I dynamically add plugins and run in a subpanel. Running a randomly chosen plugin should deactivate listbox shortcut(right-click) menu only on this row. Quote
hooovahh Posted April 10, 2017 Report Posted April 10, 2017 Without an example VI, and more explanation in the post (like "listbox" isn't mentioned anywhere in the description) I wasn't sure what you were referring to. The easiest way of doing this is with an event structure and the Mouse Down? event. Here you can use the Discard? input, and if the right click mouse button was used, and the selected item is one that should be ignored, discard the click and no menu will come up. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.