IControl.Drag Method (Int32, Int32, Int32, Int32, ShiftKey) |
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,
ShiftKey shift
)
Sub Drag (
clientX As Integer,
clientY As Integer,
toX As Integer,
toY As Integer,
shift As ShiftKey
)
Dim instance As IControl
Dim clientX As Integer
Dim clientY As Integer
Dim toX As Integer
Dim toY As Integer
Dim shift As ShiftKey
instance.Drag(clientX, clientY, toX, toY,
shift)
void Drag(
int clientX,
int clientY,
int toX,
int toY,
ShiftKey shift
)
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. - shift
- Type: SmartBear.TestLeft.TestObjects.ShiftKey
The button that is pressed when a click is performed.
See Also