From Xojo Documentation
Invoked when a drop has finished.
The following enums are used by the DragOverRow and DropObjectOnRow events:
|OnRow||The drop is occurring on the row itself.|
|AfterRow||The drop is occurring between rows, after the row specified. The row can be in the range of [-1, RowCount-1] and specifying -1 will insert it at the top of all the rows. This value will also be RowCount-1 if the user drags below the item list.|
|AfterAllRows||The drop is occurring after all rows in the list.|
|OnControl||The drop is occurring on the entire control, not on a particular row. This matches the previous behavior.|
The row, parentRow, and location are the values previously set by the DragOverRow event handler.
The DropObject event fires after this event.
This code in the event handler shows the different values that can be passed for the Location parameter.
MessageBox "add row after all rows"
MessageBox "add row after rowindex = " + CStr(row)
MessageBox "drop occurred ON control"
MessageBox "add row to rowindex = " + CStr(row)