ZennoLab Assemblies Documentation
MouseMove(Int32,Int32,Boolean) Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Tab Class > MouseMove Method : MouseMove(Int32,Int32,Boolean) Method
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.Int32

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

Glossary Item Box

Performs the mouse move event in specified point inside the current tab.

Syntax

C# 
public void MouseMove( 
   int toX,
   int toY,
   bool useClick
)

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.Int32

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

Example

The following code example demonstrates uses of the MouseMove method.
C#Copy Code
// performs the mouse moving to [500, 250]
instance.ActiveTab.MouseMove(500, 250);
// and next
// preforms the mouse moving to [500, 125]
// and rise left mouse click in this location
instance.ActiveTab.MouseMove(500, 125, true);
PHPCopy Code
// performs the mouse moving to [500, 250]
$instance->ActiveTab->MouseMove(500, 250);
// and next
// preforms the mouse moving to [500, 125]
// and rise left mouse click in this location
$instance->ActiveTab->MouseMove(500, 125, true);

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.