Complete the following steps to customize a menu for a control programmatically.
Tip If you do not want the default shortcut menu items to appear, use the Delete Menu Items function. To remove the default shortcut menu items, wire the MenuRef event data field to the menu reference input of the Delete Menu Items function and then wire the menu reference out output to the menu reference input of the Insert Menu Items function. |
Note You also can add default shortcut menu items by providing application item tags as inputs to the Insert Menu Items function. |