[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TDragState

State changes while dragging - when mouse enters, leaves or moves over a control.

Declaration

Source position: controls.pp line 381

type TDragState = (

  dsDragEnter,

  

Mouse has just entered the control.

  dsDragLeave,

  

Mouse has just left the control.

  dsDragMove

  

Mouse is moving over the control.

);

Description

These values are sent with drag messages, allowing the control to perform special actions while the mouse moves over it.