menuitem Method

Purpose:

Returns the last menu item clicked.

Syntax:

.menuitem

Comments:

When the user clicks a menu item, this variable is set with the menu item name.

Example:

item = menu.menuitem