Description
This property provides a scripting interface to the window’s system menu.
Declaration
TestObj.SystemMenu
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
The property is applied to the following 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 that corresponds to the window’s system menu.
Remarks
Using the returned object you can select items from the system menu, but the menu must be opened on screen first. You can open it by sending an Alt+Space keypress to the window, or by calling Click
in its top left corner. See the description of the Menu
object for more information on available menu actions.
See Also
MainMenu Property
PopupMenu Property (Window Objects)
Simulating Menu Actions