Software Developer's Kit - ChemDraw

Send comments on this topic
Parent Property
See Also 

Description

Member of ChemDraw Control.selection

Returns the parent of the selection

Property type

Read-only property

Syntax

Visual Basic
Public Property Parent() As Object

Return Type

Object

Remarks

Returns the parent of the selection.

Example

'Returns the parent of the selection 
 Private Sub cmdCommand_Click()

     Text1.Text = Selection.Parent 
 Exit Sub

See Also