Parent Property

Applies To:

Molecule object

Description:

This object's creator/owner.

Syntax:

LPDISPATCH/Object Molecule.Parent

Remarks:

Read-only. For the Molecule object, this property refers to the same object as the Application property.

Example:

The following Visual Basic code gets the full path of the ChemFinder application using the Parent property of the CurrentMolecule Molecule object and the FullName property of the Application object.

Dim CurrentMolecule As Object   'Molecule object
Dim strAppPath As String           'Application path

'Get the full path string
strAppPath = CurrentMolecule.Parent.FullName   

See Also:

Application Object


2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement
Tel  800 315-7300 / 617 588-9300     Fax  617 588-9390     Email   info@cambridgesoft.com
CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA