Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

MenuItem.GetParentItem

Returns the menu item whose submenu contains the menu item.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Menu 4.1 Yes Yes No No No

MBS( "MenuItem.GetParentItem"; item )

Parameters

Parameter Description Example value
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


MenuItem.GetOnStateImage   -   MenuItem.GetParentMenu

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins