|
|
|
|
|
- What is Drag and Drop?
- WINDEV and "Drag and Drop"
- Special case: SQL Server Native Connector and Drag and Drop
- WEBDEV and "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: - Select the data in the source with the mouse.
- Press the left mouse button and hold it down while moving data to the destination.
- Release the mouse button to validate the data transfer.
If data must be copied, the Ctrl key must be held down during the operation.
WINDEV and "Drag and Drop" Several types of Drag and Drop can be performed in your applications: Special case: SQL Server Native Connector and Drag and Drop The Drag and Drop feature may not work when using the SQL Server Connector (via OLE DB or via ODBC).. To restore a correct operating mode, the following lines of code should be added into the project initialization code: LoadDLL("ole32")
API("ole32","CoInitializeEx",0,2)
WEBDEV and "Drag and Drop"
Related Examples:
|
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.
|
|
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.
|
|
Unit examples (WEBDEV): The features of Drag And Drop HTML5
[ + ] Using the Drag n Drop HTML 5 features in a WEBDEV site.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|