Vcl.Controls.TDragState
Delphi
TDragState = System.UITypes.TDragState;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| enum | public | Vcl.Controls.pas | Vcl.Controls | Vcl.Controls | 
Description
TDragState is used to specify how the mouse is moving in relation to a control.
TDragState describes how the mouse is moving in relation to a control that it is passing over.
It has one of the following values:
| Value | Meaning | 
|---|---|
| dsDragEnter | The mouse just moved over the control. | 
| dsDragLeave | The mouse is moving off of the control. | 
| dsDragMove | The mouse is moving while over the control. | 
Code Examples