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:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
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
- Version 13.0
- Added recursive parameter to Menu.FindItemWithTag and Menu.FindItemWithTitle functions.
Blog Entries
This function does not need a paid license.
Created 29th April 2015, last changed 6th January 2023
