PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Functions for Drag and Drop management
Versions 17 and later
WEBDEV - Browser code Most of these functions are now available in Browser code.
PHP These functions can be used in the browser code of PHP sites.
New in version 17
WEBDEV - Browser code Most of these functions are now available in Browser code.
PHP These functions can be used in the browser code of PHP sites.
WEBDEV - Browser code Most of these functions are now available in Browser code.
PHP These functions can be used in the browser code of PHP sites.
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 do I create an archive?
2/ How do I compress and uncompress files?
3/ How do I manage the 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.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment