Returns the menu that contains the object.
[ pMenu = ] Object.Parent()
The Parent method syntax has the following parts:
Name |
Type |
Description |
Object |
AMenu |
AMenu object |
pMenu |
AMenu |
The menu object found. |
The following statement displays the AMenu's parent menu. If this is the top level menu, this method returns this menu.
mnu1.Parent()