XtraMainMenu Property

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

This property provides a scripting interface to the main menu created with the Developer Express XtraBars Suite.

Supported component versions: Developer Express XtraBars ver. 3.6.x, 6.1, 6.3, 7.x, 8.2 - 10.1, 11.2, 12.1 - 18.1.3, 19.1.3, 20.1.6, 21.1.3.

Declaration

TestObj.XtraMainMenu

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 one of DevExpress XtraBars that serves as the window's main menu.

Remarks

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 Developer Express Control Support plugin is installed.

Example

To view an example that demonstrates how to use the XtraMainMenu property, see Working With Third-Party Menus in Desktop Windows Applications.

See Also

MainMenu Property
PopupMenu Property
SystemMenu Property
Simulating Menu Actions

Highlight search results