DragAndDrop Method
Start X location in pixels.
Start Y location in pixels.
Drop X location in pixels.
Drop Y location in pixels.
MOUSE_BUTTON.
Simulates Mouse Drag and Drop operation.
Remarks
The location in mouse simulation methods is expressed in Control client coordinates. If you have the location in screen coordinates, translate it to client coordinates.
Syntax
'Declaration
 
Public Sub DragAndDrop( _
   ByVal DragX As System.Integer, _
   ByVal DragY As System.Integer, _
   ByVal DropX As System.Integer, _
   ByVal DropY As System.Integer, _
   ByVal Button As MOUSE_BUTTON _
) 
public void DragAndDrop( 
   System.int DragX,
   System.int DragY,
   System.int DropX,
   System.int DropY,
   MOUSE_BUTTON Button
)

Parameters

DragX
Start X location in pixels.
DragY
Start Y location in pixels.
DropX
Drop X location in pixels.
DropY
Drop Y location in pixels.
Button
MOUSE_BUTTON.