Default actions in MENU

When an MENU instruction executes, the runtime system creates a set of default actions.

Table 1. Default actions created for the MENU instruction
Default action Control Block execution order
close

Created to execute COMMAND KEY(INTERRUPT) if used (can be overwritten with ON ACTION close)

Default action view is hidden. See Implementing the close action.

help

Shows the help topic defined by the HELP clause.

Default action view is hidden.

Window close events can be trapped with COMMAND KEY(INTERRUPT) clause.