Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Show or hide a menu command.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menubar | 5.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Path | The ID or path to the menu entry. Use Menubar.ListMenuCommands to find out the IDs and names. |
49297 | |
Visible | The new visible state. Pass 1 to make visible and 0 to hide. |
1 | Optional |
Returns OK or error.
Hide preferences menu command:
MBS("Menubar.SetMenuCommandVisible"; 49153; 0)
Hide service menu in FileMaker Pro Advanced in German:
MBS("Menubar.SetMenuCommandVisible"; "FileMaker Pro Advanced¶Dienste"; 0)
This function checks for a license.
Created 15th November 2014, last changed 14th July 2022
Menubar.SetMenuCommandTitle - MessageComposer.AddAttachmentContainer