PC SOFT

WINDEV的在线文档

  • Variables
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Manages the mouse cursor and specifies the action allowed during Drag and Drop. The cursor remains the same until the end of Drag and Drop or until the next call to 鼠标拖放光标.

Notes: 鼠标拖放光标 must be used during the call to the 鼠标拖放.滑过 event (鼠标拖放事件).

例子
// Procedure called by the dndDragOver event
过程OnRollover()
// Cursor indicating the move
鼠标拖放光标鼠标拖放.移动

语法
鼠标拖放光标(<Cursor>)
<Cursor>: Constant
Type of cursor displayed:
鼠标拖放.复制Copy cursor:
鼠标拖放.移动Move cursor:
鼠标拖放.默认Default cursor:or(depending whether the Ctrl key is pressed or not)
鼠标拖放.禁止Forbidden cursor:

注意

Variables

The following variables can be used:

Name of the variableDescription
鼠标拖放.操作Action specified in 鼠标拖放接受.

The possible values are as follows: 鼠标拖放.复制, 鼠标拖放.移动 and 鼠标拖放.禁止.

This variable is not filled at the beginning of Drag and Drop in a source control (鼠标拖放.开始拖动 constant) or when exiting from a target control (鼠标拖放.离开控件 constant).
鼠标拖放.目标控件Name of the target control.

This variable is not filled at the beginning of Drag and Drop in a source control (鼠标拖放.开始拖动 constant) or when exiting from a target control (鼠标拖放.离开控件 constant).
鼠标拖放.源控件Name of the source control.
鼠标拖放.按下CtrlStatus of the [Ctrl] key:
  • True: the [Ctrl] key is pressed.
  • False: the [Ctrl] key is not pressed.
This variable is not filled at the beginning of Drag and Drop in a source control (鼠标拖放.开始拖动 constant) or when exiting from a target control (鼠标拖放.离开控件 constant).
鼠标拖放.源窗口Name of the source window.

This variable is not filled when exiting from a target control (鼠标拖放.离开控件 constant).
鼠标拖放.鼠标水平位置Horizontal position (X) of the mouse cursor in relation to the control handled during the event.

This variable is not filled when exiting from a target control (鼠标拖放.离开控件 constant).
鼠标拖放.鼠标垂直坐标Vertical position (Y) of the mouse cursor in relation to the control handled during the event.

This variable is not filled when exiting from a target control (鼠标拖放.离开控件 constant).

The 鼠标拖放.源控件 and 鼠标拖放.源窗口 variables return an empty string ("") when the Drag and Drop comes from an application other than the current application.

组件
WinDev wd200obj.dll