Software Developer's Kit - ChemDraw

Send comments on this topic
ChemicalWarningsToShow Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns a bitmask of values that indicate what chemical warnings should be shown.

Property type

Read-write property

Syntax

Visual Basic
Public Property ChemicalWarningsToShow() As Long

Return Type

Long

Remarks

Sets and returns a bitmask of values that indicate what chemical warnings should be shown.

Example

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

See Also