[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Called to check whether this control allows docking and where.
Source position: controls.pp line 2248
protected procedure TWinControl.DockOver( |
Source: TDragDockObject; |
X: Integer; |
Y: Integer; |
State: TDragState; |
var Accept: Boolean |
); virtual; |
Accept |
|
Initially True, set to False to reject an drop. |
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.
|
Get the DockRect for an possible drop. |
|
|
Event handler signalled when a control is moved over a docksite; determines whether the drop event is accepted or rejected. |
Version 3.2 | Generated 2024-02-25 | Home |