TWinControl.DockOver procedure
Called to check whether this control allows docking and where.
Declaration
procedure DockOver(Source: TDragDockObject; X: Integer; Y: Integer;
State: TDragState; var Accept: Boolean); virtualArguments
Source | |
X | |
Y | |
State | |
Accept | Initially True, set to False to reject an drop. |
Description
Called for messages from the DragManager including: dmEnter, dmLeave, and dmMove. Gets the DockRect to show.
Positions the DockRect, and invokes OnDockOver (via DoDockOver).
Everything can be overridden using the OnDockOver handler, when assigned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
