JavaFXMenu Property

Applies to TestComplete 15.0, last modified on November 17, 2021

Description

Returns the Menu object that provides access to the control’s menu and lets you automate menu actions.

The menu must be opened before you access the JavaFXMenu property, otherwise, no actions can be performed.

Declaration

TestObj.JavaFXMenu

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

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

The Menu object that corresponds to the control’s menu.

If the menu is not open, JavaFXMenu returns an empty object: Nothing in VBScript, nil in DelphiScript, None in Python, null in JavaScript, JScript, C++Script and C#Script.

See Also

Support for JavaFX Applications' Controls
Simulating Menu Actions

Highlight search results