Software Developer's Kit - ChemDraw

Send comments on this topic
Saved Property
See Also 

Description

Member of ChemDraw Control.Document.

Returns True if there are no unsaved changes.

Property type

Read-only property

Syntax

Visual Basic
Public Property Saved() As Boolean

Return Type

Boolean

Example

'Declares variables 
 Dim myDocument As ChemDrawControl11Ctl.Document 
 Dim myApp As ChemDrawControl11Ctl.Application

 Private Sub cmdCommand_Click()
     Set MyApp = ctlChemDraw.Application
     Set myDocument = myApp.ActiveDocument 
     Command2.Caption = myDocument.Saved
 End Sub

See Also