Pane Object

Project Developer Reference

Represents a pane of a window. (There is no collection for Pane objects.) You can access the Pane object through the ActivePane, TopPane, and BottomPane properties of a Window object.

Using the Pane Object

Use a property such as the BottomPane property to return a Pane object. The following example checks for the existence of a pane at the bottom of the window and then creates, and applies, a new two-pane view.

  If ActiveWindow.BottomPane Is Nothing Then
    ViewEditCombination Name:="Check Resources View", Create:=True, _
        TopView:="Gantt Chart", BottomView:="Resource Sheet"
    ViewApplyName:="Check Resources View"
End If

See Also