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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MenuItem.Release
Releases the menu item.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menu | 4.1 | Yes | Yes | No | No | No |
MBS( "MenuItem.Release"; item { ; children } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| item | The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. | $item | |
| children | If 1, releases all child menu items and child menus. | 0 | Optional |
Result
Returns OK or error.
Description
Releases the menu item.You need to release menu items after you finished using it to avoid running out of memory.
See also
Release notes
- Version 10.5
- Added CFunction.ReleaseAll, CGImageSource.ReleaseAll, CLibrary.ReleaseAll, DynaPDF.ReleaseAll, ECKey.ReleaseAll, FSEvents.ReleaseAll, MarkDown.ReleaseAll, MenuItem.ReleaseAll, SendMail.ReleaseAll, Shell.ReleaseAll, SmartCard.ReleaseAll, TouchBar.ReleaseAll, UserNotification.ReleaseAll, WMFP.ReleaseAll, WMIQuery.ReleaseAll and WindowsUserNotification.ReleaseAll.
Created 18th August 2014, last changed 31st August 2014
MenuItem.List - MenuItem.ReleaseAll
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos