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

MenuItem.GetParentMenu

Returns the menu containing the menu item.

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

Parameters

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

Result

Returns menu reference number or error.

Description

Returns the menu containing the menu item.
The parent menu, or empty text if the item does not have a parent item.

See also

This function checks for a license.

Created 2nd September 2014, last changed 9th November 2021


MenuItem.GetParentItem - MenuItem.GetPath