Sub OnMouseDown(Sender: Object; Args: IMouseClickEventArgs);
Begin
//set of operators;
End Sub OnMouseDown;
Sender. is a parameter that returns the component that generated the event.
Args. Parameter that allows to determine the event parameters.
The OnMouseDown event occurs when the pointer is in component area and a mouse button was pressed.
The events connected with mouse cursor occur in the following order:
OnMouseHover / OnMouseDown / OnMouseWheel
See also: