[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 390

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.