Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the menuitem's title.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "MenuItem.SetTitle"; item; text )   More


Parameter Description Example
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item
text The new title of the menu item. If you do not want a title, use an empty string. "Hello"


Returns OK or error.


Sets the menuitem's title.
See also See also MenuItem.GetTitle.

See also

This function is free to use.

Created 18th August 2014, last changed 31st August 2014

MenuItem.SetTag - MenuItem.SetToolTip