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.FindItemWithTitle

Finds a menu entry with given title in a menu.

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

Parameters

Parameter Description Example Flags
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
Title The title text to search.
Recursive 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 title in a menu.

See also MenuItem.GetTittle and MenuItem.SetTitle.

Examples

Find an item:

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

See also

Release notes

Blog Entries

This function does not need a paid license.

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


Menu.FindItemWithTag - Menu.GetAllowsContextMenuPlugIns

💬 Ask a question or report a problem


Start Chat