Sign in Join
FPDoc Onlineexperiment

TDragMessage enumeration

In unit Controls

Message types used in DragManager.

Declaration

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

Description

All messages are sent to the target control, except dmDragDrop and dmDragCancel is sent to the source control.

dmDragEnter
Mouse enters control
dmDragLeave
Mouse leaves control
dmDragMove
Mouse moves over control (after dmDragEnter)
dmDragDrop
Control dropped
dmDragCancel
Dragging aborted
dmFindTarget
Find child control under the mouse

Modified in LCL 3.0 to be an alias to TDragMessage in System.UITypes for FPC 3.2.3 or higher.

Values

dmDragEntermouse enters control.
dmDragLeavemouse leaves control.
dmDragMovemouse moves over control (after dmDragEnter).
dmDragDropcontrol dropped.
dmDragCanceldragging aborted.
dmFindTargetfind possible target control under the mouse.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.