SwingMenu Property (Specific to JMenuBar Controls)

Applies to TestComplete 15.40, last modified on March 25, 2022

Description

Use the SwingMenu property to obtain the Menu object that allows you to perform various actions over particular menu items.

Declaration

TestObj.SwingMenu

Read-Only Property Menu
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

The object that provides a scripting interface to a collection of menu items.

See Also

Working With Menus in Desktop Windows Applications

Highlight search results