Software Developer's Kit - ChemDraw

Send comments on this topic
PromptForComment Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag indicating whether users are prompted for comments when saving files.

Property type

Read-write property

Syntax

Visual Basic
Public Property PromptForComment() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether users are prompted for comments when saving files.

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.PromptForComment = True
 End Sub

See Also