C1MainMenu Property

Applies to TestComplete 15.64, last modified on June 12, 2024


This property provides a scripting interface to the main menu created with the ComponentOne Menus and Toolbars for .NET Suite.

Supported component versions: ComponentOne C1Command for .NET 1.0.2, 2.0.2.



Read-Only Property A Menu object
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

A Menu object that corresponds to the C1MainMenu component that serves as the window’s main menu.


After you obtain the menu, you can select items from this menu using the returned object. See the Menu Object description for more information on available menu actions.

This property is available if the ComponentOne Control Support plugin is installed.

See Also

MainMenu Property
PopupMenu Property (Window Objects)
SystemMenu Property
Simulating Menu Actions

Highlight search results