Menu.AddSubMenu
 
 
 

Menu.AddSubMenu

Introduced

v9.5 (2011)

Description

Add a sub-menu item to this menu onto which further MenuItems can be attached. Tip: Use this method in python for creating sub menu items instead of invoking Menu.AddItem with siMenuItemSubmenu.

C# Syntax

Menu Menu.AddSubMenu( String in_pLabel );

Scripting Syntax

oReturn = Menu.AddSubMenu( in_pLabel );

Return Value

The newly created Menu object.

Parameters

Parameter Type Description
in_pLabel String Menu label.