QD_CountDroppedFiles

QD_CountDroppedFiles(areaRef; numFiles):error
areaRef Longint Area reference
numFiles Longint Number of files
error Longint Error result

Get the number of files dropped on a QDrop area

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

Parameter numFiles receives the number of files that were dropped on the area.

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_GetDroppedFile Get the pathname of a file dropped on a QDrop area
QD_SetDropHandler Specify the drop handler method for a QDrop area