How Screen Menus are Created
The screen layout consists of a menu from which commands can be given and a working area in which drawings are produced. The menu layout provides active areas (called slots) from which commands can be called directly. Names and mnemonics associated with these commands can be displayed in the slots.
A typical menu listing is shown at the beginning of
Using the Interface to Find a Command. If you study this listing, you can see that, for each row and column, the "display" text appears before the "action text".
The names of the system macros that display the screen menus can by found by entering EDIT_MACRO and picking one of the screen menu pads. The display will become as follows:
DEFINE action_text
action
END_DEFINE
In this case action is the name of the macro that displays the screen menu. Each of these macros can be edited and stored in a file for future use.
Here is how to save the macro that displays a screen menu. Let's use the CREATE 1 menu as an example:
1. Use EDIT_MACRO to get the macro name from the screen menu. You will find that the macro for the CREATE 1 menu is Sm_create_1.
2. On the command line, type:
SAVE_MACRO Sm_create_1 'filename'
filename is a name of your choice.
Now you can edit the file. You may want to add the contents of the file to your customize file.