ZennoLab Assemblies Documentation
MouseMove(Int32,Int32,Int32,Int32,Boolean,Boolean) Method
Example 
ZennoLab.CommandCenter Namespace > Tab Class > MouseMove Method : MouseMove(Int32,Int32,Int32,Int32,Boolean,Boolean) Method

Type: System.Int32

The x coordinate of the start point inside tab's area for rise mouse move event.

Type: System.Int32

The y coordinate of the start point inside tab's area for rise mouse move event.

Type: System.Int32

The x coordinate of the end point inside tab's area for rise mouse move event.

Type: System.Int32

The y coordinate of the end point inside tab's area for rise mouse move event.

Type: System.Boolean

true if necessary performs the left mouse click in the end point: otherwise false. Default value is false.

Type: System.Boolean

true if necessary to consider scroll position of the browser; otherwise false. Default value is false.

Performs the mouse move event from point to point in specified coordinates inside the current tab.
Syntax
public void MouseMove( 
   int fromX,
   int fromY,
   int toX,
   int toY,
   bool useClick,
   bool considerScroll
)

Parameters

fromX

Type: System.Int32

The x coordinate of the start point inside tab's area for rise mouse move event.

fromY

Type: System.Int32

The y coordinate of the start point inside tab's area for rise mouse move event.

toX

Type: System.Int32

The x coordinate of the end point inside tab's area for rise mouse move event.

toY

Type: System.Int32

The y coordinate of the end point inside tab's area for rise mouse move event.

useClick

Type: System.Boolean

true if necessary performs the left mouse click in the end point: otherwise false. Default value is false.

considerScroll

Type: System.Boolean

true if necessary to consider scroll position of the browser; otherwise false. Default value is false.

Example
The following code example demonstrates uses of the MouseMove method.
// performs the mouse moving from [200, 250] to [500, 250]
instance.ActiveTab.MouseMove(200, 250, 500, 250, false, false);
// and next
// preforms the mouse moving from [500, 250] to [500, 125]
// and rise left mouse click in the last location
instance.ActiveTab.MouseMove(500, 250, 500, 125, true, false);
// performs the mouse moving from [200, 250] to [500, 250]
$instance->ActiveTab->MouseMove(200, 250, 500, 250, false, false);
// and next
// preforms the mouse moving from [500, 250] to [500, 125]
// and rise left mouse click in the last location
$instance->ActiveTab->MouseMove(500, 250, 500, 125, true, false);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members
Overload List
DragDrop Method
MouseClick Method
MouseWheel Method