WLanguage procedure ("Callback") called by
ExplorerAccept during a drag and drop operation from the Windows explorer. This procedure can be a local, global or internal procedure.
// Drag and Drop with the Windows explorer: activation
ExplorerAccept(True, STC_ZONE_DROP, Call_backExplorerAccept)
INTERNAL PROCEDURE Call_backExplorerAccept(NumberOfFiles is int,
ListOfFiles is string)
i is int
FOR i = 1 TO NumberOfFiles
FileName is string
FileName = ExtractString(ListOfFiles, i, CR)
TableAddLine(TABLE_DND_WINDOWS, FileName)
END
END
Syntax
ExplorerAccept_Callback(<Number of files> , <List of files>)
<Number of files>: Integer
Number of files dropped from Windows Explorer.
<List of files>: Character string
List of files dropped from Windows Explorer. The different files are separated by a Carriage Return (CR). This list has the following format:
<File 1> + CR + ... + CR + <File N>