Use this property to get the
Menu object to perform various actions over the context 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 context 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,
If the Qt application object has more than one child menu, QtPopupMenu may be recognized in a wrong way. For details, please refer to Troubleshooting Qt Applications.