Sub OnClick(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnClick;
Sender - parameter that returns the component that has generated the event.
Args - parameter that enables the user to determine event parameters.
The OnClick event occurs when the user presses and releases the mouse button on the button placed on the toolbar.
See also: