[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Initializes the dragging coordinates.
Source position: controls.pp line 592
protected procedure TDragDockObject.InitDock( |
APosition: TPoint |
); virtual; |
Determines the hotspot offset for adjusting the floating DockRect. Since the undocked extent of the control doesn't change while dragging, we fix the hotspot offset here.
Usage:
OffsetRect(DockRect, FDockOffset);