Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Menu.FindItemWithTag

Finds a menu entry with given tag in a menu.

Component Version macOS Windows Linux Server iOS SDK
Menu 5.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Menu.FindItemWithTag"; menu; Tag { ; Recursive } )   More

Parameters

Parameter Description Example Flags
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
Tag The tag text to search.
Recursive Available in MBS FileMaker Plugin 1.0 or newer.
Pass 1 to look into sub menus recursively.
Default is 0 to only search current menu.
1 Optional

Result

Returns reference number or error.

Description

Finds a menu entry with given tag in a menu.

See also MenuItem.GetTag and MenuItem.SetTag.

Examples

Find an item:

MBS("Menu.FindItemWithTag"; $menu; "Test")

See also

Release notes

Blog Entries

This function is free to use.

Created 29th April 2015, last changed 6th January 2023


Menu.DefineQuickMenuXML - Menu.FindItemWithTitle

💬 Ask a question or report a problem