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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Menubar.SetMenuCommandTitle

Sets the title of a menu item.

Component Version macOS Windows Linux Server iOS SDK
Menubar 6.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Menubar.SetMenuCommandTitle"; Path; Title )   More

Parameters

Parameter Description Example
Path The ID or path to the menu entry.
Use Menubar.ListMenuCommands to find out the IDs and names.
49297
Title The new menu item title. "Hello"

Result

Returns OK or error.

Description

Sets the title of a menu item.

Examples

Rename menu entry on Mac:

MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro Advanced¶FileMaker Pro Advanced ausblenden"; "Hello")

Sets a menu entry on Windows:

MBS("Menubar.SetMenuCommandTitle"; "Datei¶Verwalten"; "Hello")

Rename hide menu command:

MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro Advanced¶Hide FileMaker Pro Advanced"; "Hide MyApp")

Rename quite menu item:

MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro Advanced¶Quit FileMaker Pro Advanced"; "Quit MyApp")

Rename whole application menu:

Set Variable [ $r ; Value: MBS("App.SetProcessName"; "My Great App") ]
Set Variable [ $r ; Value: MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro¶Hide FileMaker Pro"; "Hide My Great App") ]
Set Variable [ $r ; Value: MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro¶Quit FileMaker Pro"; "Quit My Great App") ]
Set Variable [ $r ; Value: MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro¶About FileMaker Pro..."; "About My Great App...") ]

See also

Blog Entries

Created 7th February 2016, last changed 25th April 2021


Menubar.SetMenuCommandShortcut - Menubar.SetMenuCommandVisible

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat