Flex - Cancel drag operation via keyboard
- by Tom
Hello
I would like to be able to cancel a drag operation with the Escape key.
The following did not work so far:
calling stopDrag() on the component
-- nothing happens
calling DragManager.acceptDragDrop(null) --
nothing happens
calling mx_internal
function DragManager.endDrag() --
drag partly stops, the drag proxy
image disappears but now the drop
indicator shows at row 0, and also
there's a null error when finally
releasing the mouse
Anybody else had any luck with this? Thanks!