ui.DragDrop.getLocationRow

Get the index of the target row where the object was dropped.

Syntax

getLocationRow()
  RETURNS INTEGER

Usage

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.

In order to deny the drop, the getLocationRow() can be used in conjunction with setOperation(NULL) in the ON DRAG_ENTER or ON DRAG_OVER, if the current target row returned by getLocationRow() is not valid for a drop operation.