RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TDragOverEvent Type

TDragOverEvent is the function type for an OnDragOver event.

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

TDragOverEvent has the following parameters:

Parameter 
Meaning 
Sender  
The control that generated the event.  
Source  
The control from which the dragging operation originated.  
X | Y  
The current mouse coordinates.  
State  
The current drag state.  
Accept  
Specifies whether the target control accepts the dragged object or not.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!