Description
Use this property to get the Menu
object to simulate various actions over the context menu of SAP GUI objects.
Declaration
TestObj.SAPPopupMenu
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 SAP GUI objects.
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
A Menu
object.
Remarks
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, null
in JavaScript, JScript, C++Script and C#Script.