Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.PositionDockRect

Get the DockRect for an possible drop.

Declaration

Source position: controls.pp line 1411

protected procedure TControl.PositionDockRect(

  DragDockObject: TDragDockObject

); virtual;

Description

Calls the DockManager.PositionDockRect in the target site, or DragDockObject.AdjustDockRect after moving the undocked control rectangle to the DragPos. AdjustDockRect takes the hotspot of the DockRect into account.

See also

TDragDockObject.AdjustDockRect

  

Adjust the DockRect relative to the dragging hotspot (DockOffset).



CT Web help

CodeTyphon Studio