Software Developer's Kit - ChemDraw

Send comments on this topic
Click Event
See Also 
cancel
Indicates whether any further mouse down event handler actions will be cancelled or not.

Description

Member of ChemDrawCtl.

Triggers mouse click event.

Syntax

Visual Basic
Public Event Click( _
   ByRef cancel As Boolean _
)

Parameters

cancel
Indicates whether any further mouse down event handler actions will be cancelled or not.

Remarks

The click event is triggered by a mouse click anywhere in the ChemDraw control. It happens before any mouse down event handler action. Setting the cancel argument to true will cancel any further mouse-down event handler action.

Example

Private Sub ChemDrawCtl11_Click(cancel as boolean)
   'click and mouse-down event is cancelled
    Text1.Text = "Click to disconnect" 
    Cancel = True
End Sub

See Also