procedure DockDrop(Source: TDragDockObject; X, Y: Integer); dynamic;
DYNAMIC void __fastcall DockDrop(TDragDockObject* Source, int X, int Y);
Generates an OnDockDrop event.
DockDrop is called automatically when a control is docked to the windowed control. It instructs the control that is being dropped to prepare for the dock operation and then generates an OnDockDrop event.
Although you can override DockDrop to perform actions in addition to the generated OnDockDrop event, typically descendant classes override the DoAddDockClient method instead. This is because DoAddDockClient is called by the client after it has performed its own preparations, but before the OnDockDrop event.