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:
| 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. |
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
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.