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

TWinControl.DockOver

Called to check whether this control allows docking and where.

Declaration

Source position: controls.pp line 2081

protected procedure TWinControl.DockOver(

  Source: TDragDockObject;

  X: Integer;

  Y: Integer;

  State: TDragState;

  var Accept: Boolean

); virtual;

Arguments

Accept

  

Initially True, set to False to reject an drop.

Description

Called on dragmanager messages dmEnter/Leave/Move, to get the DockRect to show.

Positions the DockRect, invokes OnDockOver (via DoDockOver)

Everything can be overridden by the OnDockOver handler, if installed.

See also

TControl.PositionDockRect

  

Get the DockRect for an possible drop.

TControl.OnDockOver

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