ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Drag and drop functions / WLanguage procedure
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 avec l'explorateur Windows : activation
ExplorerAccept(True, LIB_ZONE_DROP, Call_backExplorerAccepte)

	INTERNAL PROCEDURE Call_backExplorerAccepte(NombreDeFichiers is int, 
					ListeDesFichiers is string)
		i is int

		FOR i = 1 TO NombreDeFichiers
			NomFic is string
			NomFic = ExtractString(ListeDesFichiers, i, CR)
			TableAddLine(TABLE_DND_WINDOWS, NomFic)
		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 Name 1> + CR + ... + CR + <File Name N>
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help