Software Developer's Kit - ChemDraw

Send comments on this topic
MenuBars Property
See Also 

Description

Member of ChemDraw Control.Application.

Returns the MenuBars collection of the application 

Property type

Read-only property

Syntax

Visual Basic
Public Property MenuBars() As MenuBars

Return Type

Remarks

Returns the MenuBars collection of this application.

Example

'Application
 Private Sub cmdApplication_click()
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application Count
     'will show number of menu bars 
     cmdApplication.Caption = myApp.MenuBars.Count 
 End Sub

See Also