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:

  1. OnMouseEnter

  2. OnMouseMove

  3. OnMouseHover / OnMouseDown / OnMouseWheel

  4. OnMouseUp

  5. OnMouseLeave

See also:

IControl