Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
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 |
Returns reference number or error.
Find an item:
MBS("Menu.FindItemWithTag"; $menu; "Test")
This function is free to use.
Created 29th April 2015, last changed 6th January 2023