OnMouseDown

Syntax

Sub OnMouseDown(Sender: Object; Args: IMouseClickEventArgs);

Begin

//set of operators;

End Sub OnMouseDown;

Parameters

Sender. is a parameter that returns the component that generated the event.

Args. Parameter that allows to determine the event parameters.

Description

The OnMouseDown event occurs when the pointer is in component area and a mouse button was pressed.

Comments

The events connected with mouse cursor occur in the following order:

OnMouseEnter

OnMouseMove

OnMouseHover / OnMouseDown / OnMouseWheel

OnMouseUp

OnMouseLeave

See also:

IControl