Window.DragEnter
From Xojo Documentation
Event
Window.DragEnter(Obj as DragItem,Action as Integer) As Boolean
Supported for all project types and targets.
Supported for all project types and targets.
Fired when the DragItem enters the Window. Return True from this event to prevent the drop from occurring.
Notes
The Action parameter specifies the drag action. It can take the following class constants of the DragItem class:
Class Constant |
---|
DragActionDefault |
DragActionCopy |
DragActionMove |
DragActionLink |
For example, the expression “DragItem.DragActionDefault” specifies the default drag action.