Show contents 

Forms > Forms Assembly Interfaces > IControl > IControl.OnMouseDown

OnMouseDown

Syntax

OnMouseDown(Sender: Object; Args: IMouseClickEventArgs);

Parameters

Sender. The parameter that returns the component that generated the event.

Args. The 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