Click Method (IClickable)

Class

IClickable.

Action

Clicks on the object.

Syntax

iClickable.Click([button, pos, modifiers])
Variable Description
button Optional: The mouse button to press. Values include: 1=left, 2=right,3=center,... MouseButton.
pos Optional: The coordinates (relative to the object) at which to click. Point.
modifiers Optional: The modifier. ModifierKeys.

Examples

For example, in order to click on a certain position within a control, type the following:
control.Click(MouseButton.Left, New Point(244, 16))
The following example uses the left mouse button to click in the center of the control:
control.Click()