DesktopUIControl.DragOver
From Xojo Documentation
Event
DesktopUIControl.DragOver(x as Integer, y as Integer, obj as DragItem, Action as DragItem.Types) As Boolean
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Fires when the DragItem is over the DesktopUIControl.
Notes
The Obj parameter is the object being dragged. The coordinates x and y are relative to the DesktopUIControl. Returns a Boolean. Return True from this event to prevent the drop from occurring.
The Action parameter specifies the type of drag action, which is typically done by holding down a modifier key (Shift, Alt, Option, Command, etc.) while doing the drag.