Parent Method (AMenu)

Returns the menu that contains the object.

Syntax

[ pMenu = ] Object.Parent()

The Parent method syntax has the following parts:

 

Name

Type

Description

Object

AMenu

AMenu object

pMenu

AMenu

The menu object found.

Example

The following statement displays the AMenu's parent menu. If this is the top level menu, this method returns this menu.

mnu1.Parent()

Applies to

AMenu

See Also