OnFileDrop - cWebDragDropFileHelper

Called for each file dropped on the control

Type: Event

Return Data Type: String

Parameters: String sFileName BigInt iBytes String sMime Handle hoDropTarget WebDropPosition eDropPosition

ParameterDescription
sFileNameName of the dropped file
iBytesSize of the dropped file
sMimeMimeType of the dropped file
hoDropTargetControl the data was dropped on
eDropPosition:Where the file 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)


Return Value

The path to the file


Syntax
Function OnFileDrop String sFileName BigInt iBytes String sMime Handle hoDropTarget WebDropPosition eDropPosition Returns String

Description

Called for each file dropped on the control.

Can be augmented to return the path to upload the dropped filed to.