Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Menu.RemoveAllItems

Removes all the menu items in the receiver.

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

Parameters

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

Result

Returns OK or error.

Description

Removes all the menu items in the receiver.
This function is more efficient than removing menu items individually.

See also

Created 18th August 2014, last changed 31st August 2014


Menu.ReleaseAll - Menu.RemoveItem

Feedback: Report problem or ask question.