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  

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 OK 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

Created 2nd September 2014, last changed 5th September 2014


MenuItem.GetParentItem - MenuItem.GetPath

Feedback: Report problem or ask question.