TDragImageListResolution.EndDrag function
Removes the drag lock and restores the saved cursor when the drag operation has ended.
Declaration
function EndDrag: BooleanFunction result
Value in the Dragging property on entry.
Description
EndDrag is a
Boolean function used to remove the drag
image from the image resolution. EndDrag calls the DragUnlock method to hide
the drag image, and to reset the internal lock window and drag position used
in the class instance. The corresponding method (EndDrag) in the widgetset
class is called.
Dragging is set to False prior to exit from the method. EndDrag restores the previous cursor shape by calling the EndTempCursor method in the Screen singleton.
No actions are performed in the method if Dragging is set to False.
The return value contains the value from the Dragging property on entry into the method.
EndDrag is called from the EndDrag method in TDragImageList.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
