Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MenuItem.GetSubMenu
Returns the submenu associated with the receiving menu item.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menu | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "MenuItem.GetSubMenu"; 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 submenu associated with the receiving menu item.Returns empty text if no submenu is associated with it.
See also MenuItem.SetSubMenu.
See also
- MenuItem.CreateMenuItem
- MenuItem.CreateSeparator
- MenuItem.GetHidden
- MenuItem.GetState
- MenuItem.HasSubmenu
- MenuItem.SetSubMenu
This function checks for a license.
Created 18th August 2014, last changed 31st August 2014