Vcl.Controls.TDragMessage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDragMessage = (dmDragEnter, dmDragLeave, dmDragMove, dmDragDrop, dmDragCancel,
dmFindTarget);

C++

enum DECLSPEC_DENUM TDragMessage : unsigned char { dmDragEnter, dmDragLeave, dmDragMove, dmDragDrop, dmDragCancel, dmFindTarget };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

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


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.