Variables for managing the Drag and Drop
The following variables are used to manage the Drag and Drop through programming: | | | Variable name | Description | Functions |
---|
_DND.Action | Action specified in DnDAccept. The possible values are: dndCopy, dndMove and dndNone. This variable is not filled at the beginning of Drag and Drop in a source control (dndBeginDrag constant) or when exiting from a target control (dndDragLeave constant). | DnDAccept, DnDCursor, DnDCacheData, DnDIsDataAvailable, DnDEvent, DnDGetData | _DND.TargetControl | Name of the target control. This variable is not filled at the beginning of Drag and Drop in a source control (dndBeginDrag constant) or when exiting from a target control (dndDragLeave constant). | _DND.SourceControl | Name of source control. | _DND.CtrlDown | Status of 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 (dndBeginDrag constant) or when exiting from a target control (dndDragLeave constant). | _DND.SourceWin | Name of source window. This variable is not filled when exiting from a target control (dndDragLeave constant). | _DND.MouseXPos | Horizontal position (X) of mouse cursor in relation to the control handled during the event. This variable is not filled when exiting from a target control (dndDragLeave constant). | _DND.MouseYPos | Vertical position (Y) of mouse cursor in relation to the control handled during the event. This variable is not filled when exiting from a target control (dndDragLeave constant). |
This page is also available for…
|
|
|
|