QG_GetDropCell

QG_GetDropCell(areaRef; cellIndex):error
areaRef Longint QGrid area reference
cellIndex Longint Cell index
error Longint Error result

Get the cell where a drop event occurred

Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.

Parameter cellIndex receives the index of the cell where a drop event occured. If the user dropped the dragged item beyond the last cell in the grid, cellIndex is set to -1.

NOTE This command is similar to 4D's Drop position command, and can be used only within the context of a On drag over or On drop 4D form event.