Help / WLanguage / WLanguage functions / Controls, pages and windows / Drag and drop functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Drag and Drop management functions
The following functions are used to manage Drag and Drop:
DnDAcceptIndicates the action accepted by the target of Drag/Drop and manages the mouse cursor during Drag/Drop.
DnDCacheDashElementAdds a widget into a Dashboard control during Drag and Drop.
DnDCacheDataIndicates the type of data and the data to copy/move during Drag/Drop.
DnDCursorManages the mouse cursor and specifies the action allowed during Drag and Drop.
DnDEventIndicates the procedure to run during an event of Drag/Drop.
DnDForceDnDForce is kept for backward compatibility.
DnDGetDataRetrieves a specific type of data during Drag/Drop.
DnDIsDataAvailableChecks whether a specific type of data is available during Drag/Drop.
ExplorerAcceptEnables or disables the ability to perform "Drag and Drop" from the Windows explorer to a WINDEV window or control.
ExplorerRetrieveRetrieves the number and the name of the files "dropped" from the explorer.
Related Examples:
Drag and drop Unit examples (WINDEV): Drag and drop
[ + ] Using Drag & Drop with the WLanguage functions.
The following topics are presented in this example:
1/ How to manage Drag&Drop between WINDEV controls
2/ How to manage Drag&Drop from the Windows file explorer to a WINDEV control
Drag & Drop is used to move objects via the mouse. "Drag" consists in clicking an object and moving the mouse while keeping the left button down. "Drop" consists in releasing the left mouse button.
Drag & Drop can be used with WINDEV on the List Box, TreeView, Table and Image controls.
WD Zip Complete examples (WINDEV): WD Zip
[ + ] This example presents the use of archiving WLanguage functions with compression.
The following topics are presented in this example:
1/ How to create an archive?
2/ How to compress and uncompress files?
3/ How to manage Drag&Drop from the file explorer of Windows to a TreeView control?
Summary of the example supplied with WINDEV:
This example allows you to create and read compressed archives in WDZ, ZIP, CAB and RAR format (in read-only). This feature can be very useful to manage the automatic backups. Furthermore, the example allows you to create multi-volume archives.
The features of Drag And Drop HTML5 Unit examples (WEBDEV): The features of Drag And Drop HTML5
[ + ] Using the Drag n Drop HTML 5 features in a WEBDEV site.
See also
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help