ActionMainMenu Property

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

This property provides a scripting interface to the main menu created with Borland Action Menu Bar component.

Supported component versions: VCL TActionMainMenuBar component of Borland Delphi 7, Borland Developer Studio 2006, CodeGear RAD Studio 2007 and 2009, Embarcadero RAD Studio 2010, XE - XE8.

Declaration

TestObj.ActionMainMenu

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 TActionMainMenuBar VCL component.

Remarks

The ActionMainMenu property is only available if:

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.

See Also

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

Highlight search results