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. 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. Link to comment
Thang Nguyen Posted May 11, 2020 Author Report Share Posted May 11, 2020 Thank you very much! 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 Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now