OnDrop - cWebDragDropHelper

Called whenever a valid drop is executed on the client

Type: Event

Parameters: Handle hoDragSource Handle hoDropTarget WebDropPosition eDropPosition

ParameterDescription
hoDragSourceControl that initiated the drag
hoDropTargetControl the data was dropped on
eDropPositionWhere the data was dropped in the control. Valid values are:

ConstantMeaning
C_WebDropPosOnDropped onto the control
C_WebDropPosBeforeDropped before the control
C_WebDropPosAfterDropped after the control
C_WebDropPosEmptyThere is no drop data (yet)


Syntax
Procedure OnDrop Handle hoDragSource Handle hoDropTarget WebDropPosition eDropPosition

Description

Called whenever a valid drop is executed on the client.

Can be augmented to interact with the data involved in the drag & drop action.

Use "Get DragData of hoDragSource" to retrieve the Drag Data.

Use "Get DropData of hoDropTarget" to retrieve the Drop Data.