Menu.ReleaseAll
---------------

Releases all menus and menu items.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Menu](component_Menu.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Menu.ReleaseAll" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Releases all menus and menu items.  
You can call this method to release all previously created menus and menu items before you build a new one.  
### Examples

Cleanup:

 Set Variable \[ $r ; Value: MBS ( "Menu.ReleaseAll" ) \]  
### See also

- [Menu.Release](MenuRelease.md)
- [MenuItem.ReleaseAll](MenuItemReleaseAll.md)
- [Mutex.ReleaseAll](MutexReleaseAll.md)
- [PKey.ReleaseAll](PKeyReleaseAll.md)
- [RegEx.ReleaseAll](RegExReleaseAll.md)
- [SSH.ReleaseAll](SSHReleaseAll.md)
- [TAPI.ReleaseAll](TAPIReleaseAll.md)
- [WMFP.ReleaseAll](WMFPReleaseAll.md)
- [X509.ReleaseAll](X509ReleaseAll.md)
- [XML.ReleaseAll](XMLReleaseAll.md)

### Example Databases

- [Menu/Popup Menu](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Menu/Popup%20Menu.shtml#1ScriptAnchor_)

Created 18th August 2014 , last changed 27th August 2023

  
[Menu.Release](MenuRelease.md) - [Menu.RemoveAllItems](MenuRemoveAllItems.md)

[HTML Version](MenuReleaseAll.shtml)