Show contents 

Forms > Forms Assembly Interfaces > IControl > IControl.OnClick

OnClick

Syntax

OnClick(Sender: Object; Args: IMouseEventArgs);

Parameters

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

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