RectControl.DragOver

From Xojo Documentation
Jump to: navigation, search
Event


RectControl.DragOver(x as Integer, y as Integer, obj as DragItem,Action as Integer) As Boolean

New in 2005r5

Fires when the DragItem is over the RectControl.

Notes

The Obj parameter is the object being dragged. The coordinates x and y are relative to the RectControl. Returns a Boolean. Return True from this event to prevent the drop from occurring.

The Action parameter specifies the drag action, which is typically done by holding down a modifier key (Shift, Alt, Option, Command, etc.) while doing the drag. It can take the following class constants of the DragItem class:

Value Constant
0 DragItem.DragActionDefault
1 DragItem.DragActionCopy
2 DragItem.DragActionMove
3 DragItem.DragActionLink
Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About