Skip to content

DockPane Method

Description

Moves/docks an existing pane to another side of an application or pane.

Syntax

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

Parameters

  • Pane: The pane to be moved.
  • cx: The new width of the pane.
  • cy: The new height of the pane.
  • Direction: Docking direction. It can be one of the following:
  • DockTopOf: To dock the pane to the top of the neighbor.
  • DockLeftOf: To dock the pane to the left of the neighbor.
  • DockRightOf: To dock the pane to the right of the neighbor.
  • DockBottomOf: To dock the pane to the bottom of the neighbor.

If a Neighbour is not specified, then the pane will be docked to the specified side of the application.

  • Neighbour: The new neighbor of the pane that will be moved. It can be NULL to use the application's frame as a neighbor. The pane will be docked to the specified direction of the neighbor.

Remarks

The DockPane method allows an existing pane to be moved/docked to a new location. The docking direction specifies the direction the pane will be docked in relation to another pane (Neighbour) or the application's client borders.

See Also

DockingPane Control


See Also

Docking Pane ActiveX Control v24.0

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