IControl.Drag Method (Int32, Int32, Int32, Int32) |
Simulates a left-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 Drag(
int clientX,
int clientY,
int toX,
int toY
)
Sub Drag (
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.Drag(clientX, clientY, toX, toY)
void Drag(
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