|
|
|
|
|
EmulateDnD (Function) In french: PiloteDnD Emulates a "Drag & Drop" gesture in automated tests. EmulateMouse("WIN_Diag.DIAGEDT_Place.__WinDevAAF_DiagramEditBar_1.LOOP_PresetShapes", ... emLeftButtonDown, CoordinateEditorToScreen(107), CoordinateEditorToScreen(61)) EmulateDnD("WIN_Diag.DIAGEDT_Place.__WinDevAAF_DiagramEditBar_1" + ... ".LOOP_PresetShapes.IMG_ShapeThumbnail", 29, 27, dndBeginDrag, 3) EmulateDnD(WIN_Diag.DIAGEDT_Place, 1498, 840, dndDragEnter, 1) EmulateDnD(WIN_Diag.DIAGEDT_Place, 1910, 957, dndDrop, 0) EmulateDnD("WIN_Diag.DIAGEDT_Place.__WinDevAAF_DiagramEditBar_1" + ... ".LOOP_PresetShapes.IMG_ShapeThumbnail", 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.
- 4: Control key.
- 5: Middle mouse button.
Business / UI classification: Neutral code Component: wd300testexe.dll
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|