ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drag and drop functions / WLanguage procedure
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WLanguage procedure called by ExplorerAccept
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.
Example
// 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>
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/12/2022

Send a report | Local help