Sign in Join
FPDoc Onlineexperiment

TWinControl.DockDrop procedure

Member of TWinControlpublicIn unit Controls

Handler for a DragManager dmDragDrop message, sent when a dragged control has been dropped onto this docksite.

Declaration

pascal
procedure DockDrop(DragDockObject: TDragDockObject; X: Integer; 
 Y: Integer); virtual

Description

Asks the dropped control to dock itself into this docksite, updates its Parent, HostDockSite, and the DockClients for the old and new DockSite.

When a DockManager is installed, it is used to position the docked control (InsertControl).

Finally, an OnDockDrop event is signalled.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.