Skip to content

MENU$

Purpose
Passes information to the menu subsystem when CONNECT MENU is invoked. It is only necessary to pass MENU$ if the caller wishes to override the defaults.
Used By
CONNECT MENU from a method.

Contents

MENU$[0] Menu control data:
(1,1) “C” Clear menu window and reselect window prior to menu display.
“X” Leave menu window displayed and selected upon exit.
“x” Display menu but do not allow user to make a selection. Leave menu window displayed and selected upon exit.
(2,1) “ “ (Space) No heading.
“C” Centered heading.
“R” Right justified heading.
“L” Left justified heading.
Note: The menu description will be used as the displayed heading.
MENU$[1] Menu name.
MENU$[2] Menu return value. Return values can only be processed by methods calling CONNECT MENU and are ignored on return to a data name or menu. The value is obtained from the second column of the menu definition, and will be set to null if the user pressed F4.

From the OPENworkshop Reference, version 8.9.1. Open this page in the PDF