Skip to content

OnDrop - cWebDragDropHelper

Called whenever a valid drop is executed on the client

Type: Event

Parameters

Parameter Type Description
hoDragSource Handle Control that initiated the drag
hoDropTarget Handle Control the data was dropped on
eDropPosition WebDropPosition Where the data was dropped in the control. Valid values are:ConstantMeaning

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.