Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Menu.FindItemWithTitle

Finds a menu entry with given title in a menu.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Menu 5.1 Yes Yes No No No

MBS( "Menu.FindItemWithTitle"; menu; Title )

Parameters

Parameter Description Example value
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
Title The title text to search.

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


Menu.FindItemWithTag   -   Menu.GetAllowsContextMenuPlugIns

Feedback: Report problem or ask question.




Links
MBS Xojo blog