DragOverFromControl

Function Name c:<CONTROL-NAME>#OnDragOverFromControl
Syntax   (defun c:<CONTROL-NAME>#OnDragOverFromControl (ProjectName [as String] FormName [as String] ControlName [as String] DropPoint [as Varies] /)
)
Return Type Bitflag
Applies To Block List, Block View, DWG List, DWG Preview, Graphic Button, Hatch, Label, List Box, List View, Picture Box, Slide View, Text Box, Text Button, Tree

This event is triggered as the user passes the cursor over the control during a drag and drop operation from another OpenDCL control (or from this control). The return value from this function is used to determine which type of action will occur if the drop is made at the current point. The ProjectName, FormName, and ControlName arguments identify the control from which the drag operation was initiated. The DropPoint argument is a 2DPoint in most cases, with the following exceptions.

Control Receiving Event DropPoint Argument
Tree Control with item keys String (key of item at drop point)
Tree Control without item keys Handle (handle of item at drop point)
All other controls 2DPoint (drop point in control client coordinates)

Return Value Behavior
NIL Default
0 None
1 Copy
2 Move
4 Link