|
|
|
|
|
EmulateDnD (Function) In french: PiloteDnD Emulates a "Drag & Drop" gesture in automated tests. EmulateMouse("FEN_Diag.EDIAG_Place.__WinDevFAA_BarreEditDiagramme_1.ZR_FormesPrédéfinies", ...
emLeftButtonDown, CoordinateEditorToScreen(107), CoordinateEditorToScreen(61))
EmulateDnD("FEN_Diag.EDIAG_Place.__WinDevFAA_BarreEditDiagramme_1" + ...
".ZR_FormesPrédéfinies.IMG_VignetteForme",
29, 27, dndBeginDrag, 3)
EmulateDnD(FEN_Diag.EDIAG_Place, 1498, 840, dndDragEnter, 1)
EmulateDnD(FEN_Diag.EDIAG_Place, 1910, 957, dndDrop, 0)
EmulateDnD("FEN_Diag.EDIAG_Place.__WinDevFAA_BarreEditDiagramme_1" + ...
".ZR_FormesPrédéfinies.IMG_VignetteForme",
29, 27, dndEndDrag, 3)
Syntax
EmulateDnD(<Control> , <X position> , <Y position> , <Action to perform> , <Status>)
<Control>: Control name Drag source or drop target control. <X position>: Integer X-coordinate at which the action is performed. <Y position>: Integer Y-coordinate at which the action is performed. <Action to perform>: Integer constant Action to perform: | | dndBeginDrag | Initiates the drag-and-drop operation. | dndDragEnter | Enters a drop target. | dndDragLeave | Leaves a drop target. | dndDragOver | Hovers over a drop target. | dndDrop | Drops an element on a drop target. | dndEndDrag | Ends the drag-and-drop operation. |
<Status>: Integer Determines if the keyboard or the mouse were used for the drag-and-drop action. The values are as follows: - 1: Left mouse button
- 2: Right mouse button.
- 3: SHIFT key on keyboard.
- 4: CONTROL key on keyboard.
- 5: Middle mouse button.
Business / UI classification: Neutral code Component: wd300testexe.dll
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|