state in DragOver event never set to dsDragMove
Original Reporter info from Mantis: Daniel Dugan
-
Reporter name: Daniel Dugan
Original Reporter info from Mantis: Daniel Dugan
- Reporter name: Daniel Dugan
Description:
Patch for DragTo procedure in DragDock.inc:
Index: dragdock.inc
===================================================================
--- dragdock.inc (revision 9011)
+++ dragdock.inc (working copy)
@@ -268,7 +268,8 @@
DragObject.DragPos := Position;
SendDragOver(dmDragEnter);
if DragObject = nil then Exit;
- end;
+ end else
+ SendDragOver(dmDragMove); //make state = dsDragMove
// update Position
DragObject.DragPos := Position;
Steps to reproduce:
write a case statement in a controls DragOver event handler for state = dsDragEnter, dsDragMove and dsDragLeave. state never gets set to dsDragMove.
Mantis conversion info:
- Mantis ID: 1930
- OS Build: 2000
- Build: 9011
- Platform: Windows
- Version: 0.9.13 (SVN)
- Target version: post 1.0