MenuItem.OnClick

Syntax

Sub Name(Sender: Object; Args: IEventArgs);

Begin

//set of operators;

End Sub Name;

Parameters

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

The Args parameter allows to determine event parameters.

Description

The OnClick event occurs, if the user pressed the main mouse button when the mouse pointer was on the menu item.

See also:

MenuItem