Software Developer's Kit - ChemDraw

Send comments on this topic
RequireCtrlEnterCaption Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag to require control + enter key for a new line in a caption.

Property type

Read-write property

Syntax

Visual Basic
Public Property RequireCtrlEnterCaption() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether control + enter key is needed for a new line in a caption.

Example

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

See Also