QD_GetDroppedFile

QD_GetDroppedFile(areaRef; fileIndex; filePath):error
areaRef Longint Area reference
fileIndex Longint File index
filePath Text File path
error Longint Error result

Get the pathname of a file dropped on a QDrop area

Parameter areaRef is the reference to the plug-in area.

Parameter fileIndex specifies the index of the file.

Parameter filePath receives the full pathname of the file.

NOTE Calling this command is meaningful only within a drop handler method. For an example, see the sample code for the QD_SetDropHandler command.

Related commands

QD_CountDroppedFiles Get the number of files dropped on a QDrop area
QD_SetDropHandler Specify the drop handler method for a QDrop area