Description
Returns a Menu
object that provides access to the control’s context menu and lets you automate menu actions.
The context menu must be opened before you access the JavaFXPopupMenu property. To open the context menu, you can simulate a right click on the control or send a Windows key press while the control is focused. |
Declaration
TestObj.JavaFXPopupMenu
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
All JavaFX application objects.
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
A Menu
object that corresponds to the control’s context menu.
If the context menu is not opened, JavaFXPopupMenu
returns an empty object.
See Also
Support for JavaFX Applications' Controls
Simulating Menu Actions