Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Removes a menu item from the menu.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Menu.RemoveItem"; menu; item )   More


Parameter Description Example
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
item The reference to the menu item to be removed. $item


Returns OK or error.


Removes a menu item from the menu.
Please use Menu.RemoveItemAtIndex if you have the index and not the reference number.

See also

Release notes

This function checks for a license.

Created 18th August 2014, last changed 29th April 2015

Menu.RemoveAllItems - Menu.RemoveItemAtIndex