The DragDrop class / ui.DragDrop methods |
Get the index of the target row where the object was dropped.
getLocationRow() RETURNING result INTEGER
The getLocationRow() method returns the index of the row in the drop target list pointed to by the mouse cursor.
This method is typically used in the ON DROP block to get the index of the target row to be modified or replaced by the dragged object.
The method can also be used in ON DRAG_OVER to deny the drop according to the current target row returned by getLocationRow()