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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Menubar.HasMenuCommand
Checks whether menu command exists.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menubar | 5.0 | Yes | Yes | No | No | No |
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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
- Menubar.IsMenuCommandChecked
- Menubar.ListMenuCommands
- Menubar.RemoveMenuCommand
- Menubar.RunMenuCommand
Blog Entries
Created 15th November 2014, last changed 15th November 2014
MenuItem.SetUnderline - Menubar.IsMenuCommandChecked
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins