PC SOFT

WINDEV的在线文档

  • 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

What is Drag and Drop?
The 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.

WinDev and Drag and Drop
Several types of Drag and Drop can be performed in your applications:

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 the project:
加载DLL"ole32"
API("ole32""ColnitializeEx"02