TDragDockObject.AdjustDockRect procedure
Adjust the DockRect relative to the dragging hotspot (DockOffset).
Declaration
procedure AdjustDockRect(ARect: TRect); virtualArguments
ARect | Not used; please ignore it. |
Description
The parameter type is bad, should be var. Ignore it please.
The default implementation adjusts the stored FDockRect, by DockOffset. This adjustment will make the DockRect appear right over the control, when dragging starts, regardless of where the user clicked onto the control.
You will rarely need to override this method, since the DockRect is adjusted by every target site's DockManager later.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
