removeribbonmenu
Removes a ribbon menu rbmname or pm, from the Compose user interface. removeribbonmenu is only available in the Compose GUI.
Syntax
removeribbonmenu(rbmname)
removeribbonmenu(uiPopupMenu)
Inputs
- rbmname
- The name of the ribbon menu.
- uiPopupMenu
- The handle of the ribbon menu.
Examples
pm1 = addribbonmenu('Test1');
pm2 = addribbonmenu('Test2')
removeribbonmenu('Test1');
removeribbonmenu(pm2);
Comments
The deletion of a ribbon menu triggers the autodeletion of the items that are under its IDE tree, such as popup menus