ActionMainMenu Property

Applies to TestComplete 15.70, last modified on December 17, 2024

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, 10 - 10.4.

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