OnMouseDown

Syntax

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

Begin

//set of operators;

End Sub OnMouseDown;

Parameters

Sender. Parameter that returns the component that has generated the event.

Args. Parameter that enables the user to determine event parameters.

Description

The OnMouseDown event occurs if the pointer is in the component area and a mouse key is pressed.

Comments

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

OnMouseEnter

OnMouseMove

OnMouseHover / OnMouseDown / OnMouseWheel

OnMouseUp

OnMouseLeave

See also:

IControl