| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
MenuItem.GetParentItem
Returns the menu item whose submenu contains the menu item.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Menu | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "MenuItem.GetParentItem"; 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 reference number or error.
Description
Returns the menu item whose submenu contains the menu item.The parent menu item, or empty text if the receiver does not have a parent item.
See also
This function checks for a license.
Created 18th August 2014, last changed 31st August 2014