IControl.DragM Method (Int32, Int32, Int32, Int32) |
Simulates a middle-button mouse drag in a window or control.
Namespace:
SmartBear.TestLeft.TestObjects
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntaxvoid DragM(
int clientX,
int clientY,
int toX,
int toY
)
Sub DragM (
clientX As Integer,
clientY As Integer,
toX As Integer,
toY As Integer
)
Dim instance As IControl
Dim clientX As Integer
Dim clientY As Integer
Dim toX As Integer
Dim toY As Integer
instance.DragM(clientX, clientY, toX, toY)
void DragM(
int clientX,
int clientY,
int toX,
int toY
)
Parameters
- clientX
- Type: System.Int32
The X coordinate of the start position. - clientY
- Type: System.Int32
The Y coordinate of the start position. - toX
- Type: System.Int32
The X coordinate of the end position. - toY
- Type: System.Int32
The Y coordinate of the end position.
See Also