PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • What is Drag and Drop?
  • WINDEV and "Drag and Drop"
  • Special case: Native SQL Server access and Drag and Drop
  • WEBDEV and "Drag and Drop"
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
What is Drag and Drop?
Drag and Drop is used to transfer data between several controls with the mouse. This data can be moved between several controls found in the same application or in different applications.
You must distinguish between:
  • The source, object containing the data to copy or to cut.
  • The target, object into which the data must be copied.
To perform Drag and Drop:
  1. Selecting the data in the source with the mouse.
  2. Pressing the left mouse button and keeping it down while moving the data to the destination.
  3. Releasing the mouse button to validate the transfer of data.
To copy the data, keep the CTRL key down during the operation.
Versions 17 and later
WEBDEV - Browser code The Drag and Drop is now available in Browser code.
PHP The Drag and Drop is now available in the PHP sites.
New in version 17
WEBDEV - Browser code The Drag and Drop is now available in Browser code.
PHP The Drag and Drop is now available in the PHP sites.
WEBDEV - Browser code The Drag and Drop is now available in Browser code.
PHP The Drag and Drop is now available in the PHP sites.
WINDEV and "Drag and Drop"
Several types of Drag and Drop can be performed in your applications:
Java In Java, only the automatic Drag and Drop is available.

Special case: Native SQL Server access and Drag and Drop

The Drag and Drop may not operate when using the SQL Server access via SQLnCli.
To restore a correct operating mode, the following code lines should be added into the initialization code of project:
LoadDLL("ole32")
API("ole32","ColnitializeEx",0,2)
WEBDEV and "Drag and Drop"
Versions 17 and later
WEBDEV - Browser codePHP WEBDEV supports Drag and Drop via HTML 5. You have the ability to implement:
New in version 17
WEBDEV - Browser codePHP WEBDEV supports Drag and Drop via HTML 5. You have the ability to implement:
WEBDEV - Browser codePHP WEBDEV supports Drag and Drop via HTML 5. You have the ability to implement:
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 12
This page is also available for…
Comments
Click [Add] to post a comment