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

TWinControl.DockDrop

A dragged control has been dropped onto this docksite

Declaration

Source position: controls.pp line 1934

public procedure TWinControl.DockDrop(

  DragDockObject: TDragDockObject;

  X: Integer;

  Y: Integer

); virtual;

Description

Asks the dropped control to dock itself into the target control, 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 sends an OnDockDrop event.

See also

TWinControl.DoDockClientMsg

  

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

TWinControl.OnDockDrop

  

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

TDragDockObject

  

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