Skip to content

CreatePane Method

Description

Call this member function to create a docking pane.

Syntax

Public Function CreatePane( _
   ByVal [Id](#) As Long, _
   ByVal [cx](#) As Long, _
   ByVal [cy](#) As Long, _
   ByVal [Direction](#) As [DockingDirection](XtremeDockingPane~Enumerations~DockingDirection_EN.md), _
   Optional ByVal [Neighbour](#) As Variant _
) As [Pane](XtremeDockingPane~Pane.md)

Parameters

  • Id
    Unique identifier of the pane.

  • cx
    The initial width of the pane.

  • cy
    The initial height of the pane.

  • Direction
    Docking direction. It can be one of the following:

Value Description
dockLeftof Docks a pane to the left of an existing pane.
dockRightof Docks a pane to the right of an existing pane.
dockTopof Docks a pane to the top of an existing pane.
dockBottomof Docks a pane to the bottom of an existing pane.
  • Neighbour
    Pane's Neighbor. It can be NULL to use the frame as a neighbor.

Return Type

A Pane object.

Remarks

When creating a pane, you specify the docking direction, which specifies the direction the pane will be docked in relation to another pane or one of the client borders.

See Also

DockingPaneFrame Control


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.