Software Developer's Kit - ChemDraw

Send comments on this topic
ToolChanged Event
See Also 
toolType
subType

Description

Member of ChemDrawCtl.

Triggers tool change event.

Syntax

Visual Basic
Public Event ToolChanged( _
   ByVal toolType As CDToolType, _
   ByVal subType As Integer _
)

Parameters

toolType
ValueDescription
TypeToolPopup 
TypeToolArrow Arrow tool
TypeToolAtom Atom tool
TypeToolBond Bond tool
TypeToolChain Chain tool
TypeToolDelete Delete tool
TypeToolLasso Lasso tool
TypeToolRing Ring tool
TypeToolSpline Spline tool
TypeToolTemplate Template tool
TypeToolText Text tool
TypeToolAltGroup AltGroup tool (query tool)
TypeToolRxnMap Reaction atom map tool
TypeToolFreeSite Free Site tool (query tool)
subType

Remarks

Triggers tool change event.

Example

Private Sub ChemDrawCtl11_ToolChanged(ByVal toolType As ChemDrawControl11Ctl.CDToolType _
    ByVal subType as Integer)
   'indicates that the tool has been changed
    Text1.Text = toolType & " has been selected" 
End Sub

See Also