ContextMenu

Applies to

WebBrowser controls

Description

When the ContextMenu property is enabled, users are able to use the right mouse button menu on the web page. The default value is TRUE. The right mouse button menu for the Web page includes Back, Forward, Print, View page source, Undo, Redo, Cut, Copy, Delete, Paste, and Select all.

When this property is changed at runtime, the Web page will need to be refreshed or navigated again for the property to take effect.

Usage

In a painter

To set the ContextMenu property:

  • Select the ContextMenu check box on the General page of the control's Properties view.

In scripts

The ContextMenu property takes a boolean value. This example sets ContextMenu for the WebBrowser control:

wb_1.ContextMenu = TRUE