RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TDragMessage Enumeration

TDragMessage indicates the type of drag operation executed by a control.

Pascal
TDragMessage = (
  dmDragEnter,
  dmDragLeave,
  dmDragMove,
  dmDragDrop,
  dmDragCancel,
  dmFindTarget
);
C++
enum TDragMessage {
  dmDragEnter,
  dmDragLeave,
  dmDragMove,
  dmDragDrop,
  dmDragCancel,
  dmFindTarget
};

TDragMessage can have one of the following values:

Value 
Meaning 
dmDragEnter  
The control is dragged and enters a window.  
dmDragLeave  
The control is dragged and leaves a window.  
dmDragMove  
The control is dragged and is currently moving across the screen.  
dmDragDrop  
The control is dragged and dropped.  
dmDragCancel  
The control cancels the dragging operation.  
dmFindTarget  
The control attempts to find the target of its drag-and-drop operation.  

 

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