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

Type: System.Int32

The x coordinate inside tab's area for rise mouse move event.

Type: System.Int32

The y coordinate 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 in specified point inside the current tab.
Syntax
public void MouseMove( 
   int toX,
   int toY,
   bool useClick,
   bool considerScroll
)

Parameters

toX

Type: System.Int32

The x coordinate inside tab's area for rise mouse move event.

toY

Type: System.Int32

The y coordinate 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 to [500, 250]
instance.ActiveTab.MouseMove(500, 250, false, false);
// and next
// preforms the mouse moving to [500, 125]
// and rise left mouse click in this location
instance.ActiveTab.MouseMove(500, 125, true, false);
// performs the mouse moving to [500, 250]
$instance->ActiveTab->MouseMove(500, 250, false, false);
// and next
// preforms the mouse moving to [500, 125]
// and rise left mouse click in this location
$instance->ActiveTab->MouseMove(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