MenuItem.OnClick

Syntax

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

Begin

//set of operators;

End Sub Name;

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 mouse button when the mouse cursor was on the menu item.

See also:

MenuItem