[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.DockDrop

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

Declaration

Source position: controls.pp line 2235

public procedure TWinControl.DockDrop(

  DragDockObject: TDragDockObject;

  X: Integer;

  Y: Integer

); virtual;

Description

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

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

Finally creates an OnDockDrop event.

See also

TWinControl.DoDockClientMsg

  

Handles a dmDragDock message, when a control has been docked to this site.

TWinControl.OnDockDrop

  

Notification handler for the drop of a control to be docked.

TDragDockObject

  

A drag object for drag-dock.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.