Jump to content

Programatically edit control's runtime shortcut menu


Recommended Posts

I'd like to create a dynamic shortcut menu for a control on the front panel. This is easy to do prior to running by right clicking ->advanced->Runtime shortcut menu->edit.

But i'd like to do this during runtime, exactly the way you can do it for a vi's runtime shortcut menu. I am unable to get a Menu Reference for that actual control. Has anyone done this before?

Link to comment

I'd like to create a dynamic shortcut menu for a control on the front panel. This is easy to do prior to running by right clicking ->advanced->Runtime shortcut menu->edit.

But i'd like to do this during runtime, exactly the way you can do it for a vi's runtime shortcut menu. I am unable to get a Menu Reference for that actual control. Has anyone done this before?

Use Events and the menu reference created on right-clicking a control.

post-10515-126332237567_thumb.png

  • Like 2
Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.