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

MenuItem.SetSubMenu

Sets the submenu of the menu item.

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

Parameters

Parameter Description Example
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item
submenu The reference to the menu. Please create one with Menu.CreateMenu. $submenu

Result

Returns OK or error.

Description

Sets the submenu of the menu item.
See also MenuItem.GetSubMenu.

See also

This function checks for a license.

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


MenuItem.SetStrikeOut - MenuItem.SetTag

💬 Ask a question or report a problem