Description
Occurs when a user selects a menu item.
Syntax
bforward = MENU (ctrlentID, ctrlclassID)
Parameters
MENU accepts arguments for the following parameters.
Parameter | Description |
---|---|
ctrlentID | Has the format WindowName.MENU.PopupName.ItemName |
ctrlclassID | The 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 event, ITEMSTYLE property
Remarks
MENU is the only event generated for menu items.