WindowBeforeDoubleClick Event

See Also         Example         Applies To

Occurs when the editing area of a document window is double-clicked, before the default double-click action.

Syntax

Private Sub object_WindowBeforeDoubleClick(ByVal Sel As Selection, ByVal Cancel As Boolean)

object   An object of type Application declared with events in a class module. For more information about using events with the Application object, see Using Events with the Application Object.

Sel   The current selection.

Cancel   False when the event occurs. If the event procedure sets this argument to True, the default double-click action does not occur when the procedure is finished.