Description

Occurs when a user selects a menu item.

Syntax

bforward = MENU (ctrlentID, ctrlclassID)

Parameters

MENU accepts arguments for the following parameters.

ParameterDescription
ctrlentIDHas the format WindowName.MENU.PopupName.ItemName
ctrlclassIDThe type of control that recognizes the event. The "MENU" type is the only valid entry.

Returns

True or false. If false, the program execution returns to the calling procedure. If true, the event processing goes to the next level.

See also

CLICK eventITEMSTYLE property

Remarks

MENU is the only event generated for menu items.