TopLevel Method (AMenu)

Returns the top level menu of this menu object.

Syntax

[ 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.

Comments

If the menu object is the top level menu, this method returns this menu.

Example

The following statement returns the AMenu's top level menu:

mnu1.Parent()

Applies to

AMenu

See Also

Find, Next, Previous