Use this property to get the
Menu object to perform various actions over the menu of a Qt application object.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
All Qt application objects.
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The menu should be visible, otherwise, actions cannot be performed. If the menu is hidden, the property returns an empty object:
Nothing in VBScript,
nil in DelphiScript,
None in Python,
Sometimes, you may face issues with recognizing the menu. Please, see Troubleshooting Qt Applications for possible workarounds.