Fired when the user right-clicks the control, to display a popup menu.
Syntax
Private Sub object_UserContextMenu(ByVal ScreenX As Long, ByVal ScreenY As Long)
The UserContextMenu event syntax has these parts:
| Element | Description |
| Object | The object placeholder represents an OrdoWebView2 control |
| ScreenX | Long. the X coordinate of the user's right click |
| ScreenY | Long. the Y coordinate of the user's right click |
Only fired when AreDefaultContextMenusEnabeld is False. It is up to the application to manage the user's right click