ZennoLab Assemblies Documentation
MouseClick Method (Tab)
Example 

Type: System.Int32

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

Type: System.Int32

The y coordinate inside tab's area for rise mouse click event.

Type: System.Int32

The mouse button. It can be "left", "right" or "middle".

Type: System.Int32

The mouse button event. It can be "click", "down" or "up".

Performs the mouse click event in specified point inside the current tab.
Syntax
public void MouseClick( 
   int x,
   int y,
   string button,
   string mouseEvent
)

Parameters

x

Type: System.Int32

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

y

Type: System.Int32

The y coordinate inside tab's area for rise mouse click event.

button

Type: System.Int32

The mouse button. It can be "left", "right" or "middle".

mouseEvent

Type: System.Int32

The mouse button event. It can be "click", "down" or "up".

Example
The following code example demonstrates uses of the MouseClick method.
// perform left mouse click in location [100,200]
instance.ActiveTab.MouseClick(100, 200, "left", "click");
// perform right mouse down in location [100,200]
instance.ActiveTab.MouseClick(150, 300, "right", "down");
// perform left mouse click in location [100,200]
$instance->ActiveTab->MouseClick(100, 200, "left", "click");
// perform right mouse down in location [100,200]
$instance->ActiveTab->MouseClick(150, 300, "right", "down");
Requirements

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

See Also

Reference

Tab Class
Tab Members
DragDrop Method
MouseMove Method

Send Feedback