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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Menubar.HasMenuCommand

Checks whether menu command exists.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Menubar 5.0 Yes Yes No No No

MBS( "Menubar.HasMenuCommand"; Path )

Parameters

Parameter Description Example value
Path The ID or path to the menu entry.
Use Menubar.ListMenuCommands to find out the IDs and names.
49297

Result

Returns 1 or error.

Description

Checks whether menu command exists.

Examples

Check if select all command is there in German:

MBS("FM.HasMenuCommand"; "Bearbeiten¶Alles auswählen")

Do we have the New Database command?

MBS("Menubar.HasMenuCommand"; 57600)

See also


MenuItem.SetUnderline   -   Menubar.IsMenuCommandChecked

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins