Language Reference Guide : Events : DragOver Event
 
Share this page          
DragOver Event
A DragOver event occurs during a drag-and-drop operation when the mouse cursor is moved over a field that will accept the object being dragged. A DragOver event also occurs if the mouse is over a TreeviewField, a ListviewField or a TableField, and the mouse movement causes the field to scroll.
This event has the following syntax:
on dragover [activefieldname]
activefieldname is unnecessary if the statement is in a field script.
The following attributes of the FrameExec class can be used in the DragOver event block:
TriggerField
Specifies the field over which the mouse button was moved
MessageObject
Specifies a DragInfo object that provides information about the object that was dragged and the position of the mouse relative to the trigger field.
If the trigger field is a ListviewField or a TableField, the Drop_row attribute indicates the row over which the mouse cursor was moved.