OnFileDrop - cWebDragDropFileHelper
Called for each file dropped on the control
Type: Event
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| sFileName | String | Name of the dropped file |
| iBytes | BigInt | Size of the dropped file |
| sMime | String | MimeType of the dropped file |
| hoDropTarget | Handle | Control the data was dropped on |
| eDropPosition | WebDropPosition |
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.
Return Value
The path to the file