lukasdev Posted April 8, 2017 Report Share Posted April 8, 2017 Hi. How to activate and deactivate shortcut menu in selected items ? Quote Link to comment
hooovahh Posted April 10, 2017 Report Share Posted April 10, 2017 http://zone.ni.com/reference/en-XX/help/371361J-01/glang/set_menu_item_info/ Set Menu Item Info Quote Link to comment
lukasdev Posted April 10, 2017 Author Report Share 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 Link to comment
hooovahh Posted April 10, 2017 Report Share 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 Link to comment
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.