Language Reference Guide : Events : ChildDragOver Event
 
Share this page          
ChildDragOver Event
The ChildDragOver event occurs during a drag-and-drop operation when the mouse cursor is moved over a field that accepts the object being dragged. A ChildDragOver 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 childdragover [compositefieldname]
If you specify compositefieldname, the event is generated only for children of the specified CompositeField.
The following attributes of the FrameExec class can be used in the ChildDragOver event block:
TriggerField
Specifies the field over which the mouse button was moved
OriginatorField
Specifies the field, if any, specified in the ChildDragOver statement
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.