| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Component: Menu
Functions to create menus and show them as popup menu.
| Version | macOS | Windows | Linux | Server | iOS SDK |
| 4.1 / 15.4 | ✅ 98% | ✅ 85% | ❌ No | ❌ No | ❌ No |
| Item | Details |
|---|---|
| Menu.AddItem Adds a menu item to the end of the menu. | Mac/Win 4.1 |
| Menu.AddItems Adds a couple of menu items. | Mac/Win 4.1 |
| Menu.CreateMenu Creates a menu. | Mac/Win 4.1 |
| Menu.DefineQuickMenu Builds a new menu from a definition text with menu items. | Mac/Win 5.1 |
| Menu.DefineQuickMenuXML Defines a menu based on a xml description. | Mac/Win 5.2 |
| Menu.FindItemWithTag Finds a menu entry with given tag in a menu. | Mac/Win 5.1 |
| Menu.FindItemWithTitle Finds a menu entry with given title in a menu. | Mac/Win 5.1 |
| Menu.GetAllowsContextMenuPlugIns Returns whether the popup menu allows appending of contextual menu plugin items. | Mac only 4.1 |
| Menu.GetEvaluate Queries expression to be run when menu is chosen. | Mac/Win 6.1 |
| Menu.GetMinimumWidth Returns the minimum width of the menu. | Mac only 4.1 |
| Menu.GetScriptFileName Queries which file contains the script to be run if menu item is selected. | Mac/Win 4.1 |
| Menu.GetScriptName Queries the script name of the script to be run if menu item is selected. | Mac/Win 4.1 |
| Menu.GetShowsStateColumn Returns a Boolean value that indicates whether the receiver displays the state column. | Mac only 4.1 |
| Menu.GetTag Queries the tag value of the menu. | Mac/Win 4.1 |
| Menu.GetTitle Queries the menu title. | Mac/Win 4.1 |
| Menu.GetURL Queries URL to be triggered for menu action. | Mac/Win 6.5 |
| Menu.InsertItem Inserts a menu item into the receiver at a specific location. | Mac/Win 4.1 |
| Menu.IsOpen Returns 1 while a menu is open. | Mac/Win 15.4 |
| Menu.ItemAtIndex Queries the ID of the menu item with given index. | Mac/Win 5.0 |
| Menu.Items Queries the list of IDs for the menu items. | Mac/Win 5.0 |
| Menu.List Queries list of all IDs for menu objects. | Mac/Win 10.1 |
| Menu.NumberOfItems Returns the number of menu items in the menu, including separator items. | Mac/Win 4.1 |
| Menu.PopUp Pops up the menu at the specified location. | Mac/Win 4.1 |
| Menu.Release Releases the menu. | Mac/Win 4.1 |
| Menu.ReleaseAll Releases all menus and menu items. | Mac/Win 4.1 |
| Menu.RemoveAllItems Removes all the menu items in the receiver. | Mac/Win 4.1 |
| Menu.RemoveItem Removes a menu item from the menu. | Mac/Win 4.1 |
| Menu.RemoveItemAtIndex Removes the menu item at a specified location in the menu. | Mac/Win 4.1 |
| Menu.SelectedItem Returns the reference number of the selected menu item. | Mac/Win 4.1 |
| Menu.SetAllowsContextMenuPlugIns Sets whether the popup menu allows appending of contextual menu plugin items. | Mac only 4.1 |
| Menu.SetEvaluate Sets expression to be run when menu is chosen. | Mac/Win 6.1 |
| Menu.SetMinimumWidth Set the minimum width of the menu. | Mac only 4.1 |
| Menu.SetScriptAction Sets which script is called if a menu item in this menu is selected. | Mac/Win 4.1 |
| Menu.SetShowsStateColumn Sets whether the receiver displays the state column. | Mac only 4.1 |
| Menu.SetTag Sets the tag of the menu. | Mac/Win 4.1 |
| Menu.SetTitle Sets the menu title. | Mac/Win 4.1 |
| Menu.SetURL Sets the URL to query when menu is used. | Mac/Win 6.5 |
| MenuItem.CreateMenuItem Creates a new menu item. | Mac/Win 4.1 |
| MenuItem.CreateSeparator Creates a new separator menu item. | Mac/Win 4.1 |
| MenuItem.GetAlternate Returns a Boolean value that indicates whether the receiver is an alternate to the previous menu item. | Mac only 4.1 |
| MenuItem.GetAttributedTitle Queries the title with styles. | Mac only 4.1 |
| MenuItem.GetBackColor Queries background color for menu item. | Win only 6.5 |
| MenuItem.GetBold Queries if menu item should use bold font style. | Mac/Win 5.1 |
| MenuItem.GetEnabled Returns a Boolean value that indicates whether the receiver is enabled. | Mac/Win 4.1 |
| MenuItem.GetEvaluate Queries expression to be run when MenuItem is chosen. | Mac/Win 6.1 |
| MenuItem.GetFontColor Queries font color for menu item. | Mac/Win 6.5 |
| MenuItem.GetFontName Queries font name to use. | Mac/Win 5.1 |
| MenuItem.GetFontSize Queries font size to use for menu item. | Mac/Win 5.1 |
| MenuItem.GetGroupID Queries the group id of the menu item. | Mac/Win 5.2 |
| MenuItem.GetHidden Returns a Boolean value that indicates whether the menu item is hidden. | Mac/Win 4.1 |
| MenuItem.GetImage Queries the image for this menu item. | Mac/Win 4.1 |
| MenuItem.GetItalic Queries if menu item should use italic font style. | Mac/Win 5.1 |
| MenuItem.GetKeyEquivalent Returns the menuitem's unmodified keyboard equivalent. | Mac only 4.1 |
| MenuItem.GetKeyEquivalentModifierMask Returns the receiver's keyboard equivalent modifier mask. | Mac only 4.1 |
| MenuItem.GetMixedStateImage Returns the image used to depict a mixed state. | Mac/Win 4.1 |
| MenuItem.GetOffStateImage Returns the image used to depict the receiver's off state. | Mac/Win 4.1 |
| MenuItem.GetOnStateImage Returns the image used to depict the receiver's on state. | Mac/Win 4.1 |
| MenuItem.GetParentItem Returns the menu item whose submenu contains the menu item. | Mac/Win 4.1 |
| MenuItem.GetParentMenu Returns the menu containing the menu item. | Mac/Win 4.3 |
| MenuItem.GetPath Queries path of a menu item in a menu hierarchy. | Mac/Win 5.2 |
| MenuItem.GetRequireCommand Queries if this meantime only shows if command key is pressed. | Mac/Win 5.1 |
| MenuItem.GetRequireControl Queries if this meantime only shows if control key is pressed. | Mac/Win 5.1 |
| MenuItem.GetRequireOption Queries if this meantime only shows if option/alt key is pressed. | Mac/Win 5.1 |
| MenuItem.GetRequireShift Queries if this meantime only shows if shift key is pressed. | Mac/Win 5.1 |
| MenuItem.GetScriptFileName Queries which file contains the script to be run if menu item is selected. | Mac/Win 4.1 |
| MenuItem.GetScriptName Queries the script name of the script to be run if menu item is selected. | Mac/Win 4.1 |
| MenuItem.GetSelectable Deprecated Queries whether menu item is selectable. | Mac/Win 6.3 |
| MenuItem.GetState Returns the state of the menu item. | Mac/Win 4.1 |
| MenuItem.GetStrikeOut Queries strikeout setting for menu item. | Mac/Win 6.5 |
| MenuItem.GetSubMenu Returns the submenu associated with the receiving menu item. | Mac/Win 4.1 |
| MenuItem.GetTag Queries the tag value of the menu. | Mac/Win 4.1 |
| MenuItem.GetTitle Queries title of menu item. | Mac/Win 4.1 |
| MenuItem.GetToolTip Returns the help tag for a menu item. | Mac only 4.1 |
| MenuItem.GetURL Queries URL to be triggered for menu item action. | Mac/Win 6.5 |
| MenuItem.GetUnderline Queries if menu item should use underline font style. | Mac/Win 5.1 |
| MenuItem.GetUserKeyEquivalent Returns the user-assigned key equivalent for the menu item. | Mac only 4.1 |
| MenuItem.HasSubmenu Returns a Boolean value that indicates whether the receiver has a submenu. | Mac/Win 4.1 |
| MenuItem.IsSeparatorItem Returns a Boolean value that indicates whether the receiver is a separator item. | Mac/Win 4.1 |
| MenuItem.List Queries list of all IDs for menu item objects. | Mac/Win 10.1 |
| MenuItem.Release Releases the menu item. | Mac/Win 4.1 |
| MenuItem.ReleaseAll Frees all menus and menu items. | Mac/Win 10.5 |
| MenuItem.SetAlternate Marks the receiver as an alternate to the previous menu item. | Mac only 4.1 |
| MenuItem.SetAttributedTitle Applies a formatted text to the menu item. | Mac only 4.1 |
| MenuItem.SetBackColor Sets the back color of the menu item. | Win only 6.5 |
| MenuItem.SetBold Sets menu item to use bold font style. | Mac/Win 5.1 |
| MenuItem.SetEnabled Sets whether the menu item is enabled. | Mac/Win 4.1 |
| MenuItem.SetEvaluate Sets expression to be run when menu item is chosen. | Mac/Win 6.1 |
| MenuItem.SetFontColor Sets the font color to use. | Mac/Win 6.5 |
| MenuItem.SetFontName Sets the font name to use. | Mac/Win 5.1 |
| MenuItem.SetFontSize Sets the font size to use. | Mac/Win 5.1 |
| MenuItem.SetGroupID Sets the group id of the menu item. | Mac/Win 5.2 |
| MenuItem.SetHidden Sets whether the menu item is hidden. | Mac/Win 4.1 |
| MenuItem.SetImage Sets the menu item image. | Mac/Win 4.1 |
| MenuItem.SetItalic Sets menu item to use italic font style. | Mac/Win 5.1 |
| MenuItem.SetKeyEquivalent Sets the receiver's unmodified key equivalent. | Mac only 4.1 |
| MenuItem.SetKeyEquivalentModifierMask Sets the menu items's keyboard equivalent modifiers. | Mac only 4.1 |
| MenuItem.SetMixedStateImage Sets the image of the receiver that indicates a "mixed" state, that is, a state neither "on" nor "off". | Mac/Win 4.1 |
| MenuItem.SetOffStateImage Sets the image of the receiver that indicates an "off" state. | Mac/Win 4.1 |
| MenuItem.SetOnStateImage Sets the image of the receiver that indicates an "on" state. | Mac/Win 4.1 |
| MenuItem.SetRequireCommand Set to show menu item only if command key is pressed down. | Mac/Win 5.1 |
| MenuItem.SetRequireControl Set to show menu item only if control key is pressed down. | Mac/Win 5.1 |
| MenuItem.SetRequireOption Set to show menu item only if alt/option key is pressed down. | Mac/Win 5.1 |
| MenuItem.SetRequireShift Set to show menu item only if shift key is pressed down. | Mac/Win 5.1 |
| MenuItem.SetScriptAction Sets which script is called if a menu item in this menu is selected. | Mac/Win 4.1 |
| MenuItem.SetSelectable Deprecated Sets whether menu item is selectable. | Mac/Win 6.3 |
| MenuItem.SetState Sets the state of the menu item. | Mac/Win 4.1 |
| MenuItem.SetStrikeOut Sets the strikeout value of the menu item. | Mac/Win 6.5 |
| MenuItem.SetSubMenu Sets the submenu of the menu item. | Mac/Win 4.1 |
| MenuItem.SetTag Sets the tag of the menu. | Mac/Win 4.1 |
| MenuItem.SetTitle Sets the menuitem's title. | Mac/Win 4.1 |
| MenuItem.SetToolTip Sets a help tag for a menu item. | Mac only 4.1 |
| MenuItem.SetURL Sets the URL to query when menuitem is used. | Mac/Win 6.5 |
| MenuItem.SetUnderline Sets menu item to use underline font style. | Mac/Win 5.1 |
113 functions shown.
These functions require a license (50%).
Release notes
- Version 15.4
- Added Menu.IsOpen function.
- Version 15.1
- Improved Menu.PopUp to report an error if the item for the positioning is not in the menu.
- Version 13.0
- Added fontname and fontsize as keys for the XML for Menu.DefineQuickMenuXML function. Now works for submenus, too.
- Added recursive parameter to Menu.FindItemWithTag and Menu.FindItemWithTitle functions.
- Version 12.1
- Changed Menu functions for Windows to make more room to show full text of menuitem when using different font sizes.
- Version 11.4
- Version 11.2
- Added backslash as escape character for Menu.DefineQuickMenu function.
- Fixed a problem with menu functions on Windows with alignment of text relative to picture next to it.
- Version 10.4
- Improved text encoding handling for XML Parsing in XML functions, Menu.DefineQuickMenuXML and Clipboard functions.
- Version 10.1
- Added Menu.List and MenuItem.List to list all IDs for menu entries.
- Version 9.4
- Added new keys FontColor and BackColor elements to XML for Menu.DefineQuickMenuXML to define colors.
Blog Entries
- MBS FileMaker Plugin 15.4 News
- MBS @ FMTraining.TV - New examples for FileMaker MBS Plugin
- MBS FileMaker Plugin, version 12.1pr2
- Seven things to add to your FileMaker solution today with MBS Plugin
- MBS FileMaker Plugin 6.5 for OS X/Windows
- 4000 functions in 10 years
- MBS FileMaker Plug-in 6.1 for OS X/Windows
- MBS FileMaker Plugin 5.1 for OS X/Windows
- MBS FileMaker Plugin 4.3 for OS X/Windows - More than 2700 Functions In One Plugin
- MBS FileMaker Plugin 4.1 for OS X/Windows - More than 2400 Functions In One Plugin
FileMaker Magazin
Example Databases