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.
TestObj.C1MainMenu
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 |
The property is applied to the following object:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
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.
MainMenu Property
PopupMenu Property (Window Objects)
SystemMenu Property
Simulating Menu Actions