Jump to content

Disable item on runtime shortcut menu of a control


Recommended Posts

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 post
Share on other sites

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.