wDragDropEvent

These events are generated by wWindow during a drag-and-drop operation.

Superclass:wEvent
Seealso:wDataObject
Events:
wDragDropEventDescription
wEvent_DragEnterWhen the mouse enters the drop target.
wEvent_DragOverWhen the mouse is being dragged over the drop target.
wEvent_DragLeaveWhen the mouse leaves the drop target.
wEvent_DropWhen the user drops a data object on the target.

Consts

wEvent_DragDropFirst = 32787'i32
wEvent_DragEnter = 32788'i32
wEvent_DragOver = 32789'i32
wEvent_DragLeave = 32790'i32
wEvent_Drop = 32791'i32
wEvent_DragDropLast = 32792'i32

Methods

method getDataObject(self: wDragDropEvent): wDataObject {...}{.inline, raises: [], tags: [].}
Returns the wDataObject object associated with the drop target.
method getEffect(self: wDragDropEvent): int {...}{.inline, raises: [], tags: [].}
Returns the effect for drag and drop. effect should be one of wDragNone, wDragCopy, wDragMove or wDragLink.
method setEffect(self: wDragDropEvent; effect: int) {...}{.inline, raises: [], tags: [].}
Sets the effect for drag and drop. effect should be one of wDragNone, wDragCopy, wDragMove or wDragLink.