OnClick

Syntax

Sub OnClick(Sender: Object; Args: IMouseEventArgs);

Begin

//set of operators;

End Sub OnClick;

Parameters

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

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

Description

The OnClick event occurs if the user clicks the component area.

Comments

The event also occurs if:

If the event was generated without using the mouse, the property of the argument of the Button event returns -1, and the pPoint property contains the coordinates [0;0].

See also:

IControl