removepopupmenu
Removes a pop-up menu from the Compose user interface. removepopupmenu is only available in the Compose GUI.
Syntax
removepopupmenu(rbname, popupname)
removepopupmenu(uiPopupMenu)
Inputs
- rbname
- The name of the ribbon menu.
- popupname
- The name of the pop-up menu.
- uiPopupMenu
- The handle of the pop-up menu.
Examples
Remove the given pop-up
menu:
pm = addribbonmenu('Test');
pp = addpopupmenu('Test','Test 1');
pp1 = addpopupmenu(pm,'Test 2');
removepopupmenu('Test', 'Test 1');
removepopupmenu(pp1);