[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Determines the DockRect while dragging a control over the docksite.
Source position: line 0
public procedure TDockManager.PositionDockRect( |
ADockObject: TDragDockObject |
); virtual; overload; |
Client: TControl; |
DropCtl: TControl; |
DropAlign: TAlign; |
var DockRect: TRect |
); virtual; abstract; overload; |
This method updates DockRect for the visual feedback, when a control is dragged over the docksite.
The Delphi compatible version only can use the parameters determined by the default processing in the docksite.
The Lazarus specific version can update the DockObject with better suited parameters. A DockManager here can implement any algorithm for the placement of a dropped control. The default implementation calls the Delphi compatible version.
The DragDockObject.DockRect spans the entire DockSite.
|
lazarus-ccr.sourceforge.net |