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