Thang Nguyen Posted May 11, 2020 Report Share Posted May 11, 2020 Hi all, I would like to know if there is a way to access to the reference of the runtime shortcut menu of a control? I would like to enable/disable one of those menu item programmatically. I only know how to access the runtime menu of the VI. Thanks in advance. Quote Link to comment
hooovahh Posted May 11, 2020 Report Share Posted May 11, 2020 In the event structure, have an event for the Shortcut Menu Activation? event. This returns a Menu Reference that can then enable, disable, add, and remove menu items. Quote Link to comment
Thang Nguyen Posted May 11, 2020 Author Report Share Posted May 11, 2020 Thank you very much! Quote Link to comment
Antoine Chalons Posted January 17, 2023 Report Share Posted January 17, 2023 i know I'm a bit late on this one, but there is an idea on the exchange about exactly that https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Disable-Run-Time-Shortcut-Menu/idi-p/3643884 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.