Code Pane Properties

Name

Returns

Description

CodeModule

CodeModule

Read-only. Returns the CodeModule that contains the code being viewed in the CodePane.

CodePaneView

vbext_Code PaneView

Read-only. Returns whether the CodePane is set to show one procedure at a time, or a full-module view with separator lines between procedures.

CountOf VisibleLines

Long

Read-only. Returns the number of lines visible in the CodePane. This and the TopLine property can be used to center a line in the CodePane window (see following example).

TopLine

Long

The CodeModule line number of the first line visible in the CodePane window.

Window

Window

Read-only. Returns the Window object containing the CodePane(s).

0 0

Post a comment