RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TDockOverEvent Type

TDockOverEvent is the type of the OnDockOver event handler.

Pascal
TDockOverEvent = procedure (Sender: TObject; Source: TDragDockObject; X, Y: Integer; State: TDragState; var Accept: Boolean) of object;
C++
(Sender: TObject; Source: TDragDockObject; X, Y: Integer; State: TDragState; var Accept: Boolean) ( TDockOverEvent)();

Controls

Sender is the object over which another object is being dragged.  

Source is information about the object that is being dragged.  

X and Y are the coordinates of the mouse pointer.  

DragState is the current drag state.  

Accept returns whether or not the control accepts the dragged object for docking. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!