Window.DragOver

From Xojo Documentation

Event


Window.DragOver(x as Integer, y as Integer, Obj as DragItem, Action as Integer) As Boolean

Supported for all project types and targets.

Fires when the DragItem is over the Window.

Notes

The coordinates x and y are relative to the Window. Returns a Boolean. Return True from this event to prevent the drop from occurring.

The Action parameter specifies the drag action. It can take the following class constants of the DragItem class:

Class Constant
DragActionDefault
DragActionCopy
DragActionMove
DragActionLink