Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Menu.Release
Releases the menu.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menu | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Menu.Release"; menu { ; children } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
menu | The reference to the menu. Please create one with Menu.CreateMenu. | $menu | |
children | If 1, releases all child menu items and child menus. | 0 | Optional |
Result
Returns OK or error.
Description
Releases the menu.You need to release menus after you finished using it to avoid running out of memory.
See also
- Menu.AddItem
- Menu.AddItems
- Menu.CreateMenu
- Menu.DefineQuickMenu
- Menu.PopUp
- Menu.ReleaseAll
- Menu.SelectedItem
- MenuItem.CreateMenuItem
- MenuItem.GetTag
- MenuItem.ReleaseAll
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 31st August 2014