TDragManager.CaptureChanged procedure
Aborts the dragging operation when the capture control has changed.
Declaration
procedure CaptureChanged(OldCaptureControl: TControl); virtual
; abstractDescription
CaptureChanged is an abstract virtual method in
TDragManager, and must be implemented in a descendent class. In the
default drag manager implementation, the DragMode and DragKind properties for
child controls are checked to determine if one of them has the mouse capture.
If none of them are active, the Parent control calls DragStop.
CaptureChanged is called from the CaptureChanged method in TControl when the LM_CaptureChanged message is received by the control and the drag manager is active.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
