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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem