Progress
Language Tutorial
for Character


Menus and Menu Options

Most of the tools in the Progress toolset have a menu bar. The menu bar appears at the top of the tool display and provides access to most of the functionality in the tool. Table 2–2 provides a short description of the functionality available on each menu in the Procedure Editor.

Table 2–2: Procedure Editor Menus
Menu
Description
File
Create new edit buffers; open text files that contain Progress language statements; save the contents of an edit buffer to a text file; print the current buffer; escape to the operating system; exit the Procedure Editor.
Edit
Manipulate blocks of text in edit buffers; insert a text file or a database field into the current edit buffer.
Search
Search and replace text in the current edit buffer; go to a specified line position in the current edit buffer.
Buffer
Navigate among open edit buffers.
Compiles
Run, compile, and check the syntax of the Progress code contained in the current buffer.
Tool
Access other tools in the Progress toolset.
Help
Get information about the current tool, system messages, the 4GL, and the Progress system.

The exercises in this chapter show you how to use many of the options on these menus. For a complete description of the Procedure Editor menu bar, see the Progress Basic Development Tools manual.

Navigating the Menu Bar and Choosing Menus Options

To choose a menu or menu option, the menu bar must be active. For example, when Progress is running in a character client mode on either a UNIX or Windows platform, you can use the ENTER-MENUBAR (F3) key to toggle in and out of the menu bar. That is, you can activate the menu bar and direct all keyboard input to it when you initially use the ENTER-MENUBAR (F3) key. Then, when your are done entering your data, you can deactivate the menu bar using the same ENTER-MENUBAR (F3) key.

When Progress is running in a character client mode on Windows, you can also use the mouse to activate the menu bar. Move the mouse pointer (the arrowhead cursor that displays) across the menu bar and click on the menu bar to display the associated pull-down menu options.

Figure 2–3 displays the File pull-down menu of the Procedure Editor.

Figure 2–3: File Pull-down Menu

You can execute menu options using your cursor keys. For example, to exit the Procedure Editor, you can choose the Exit menu command from the File menu. The following information explains how to choose the Exit option with the cursor keys:

  1. Press ENTER-MENUBAR (F3) to activate the menu bar. (Keep in mind that if you are running Progress in a character client mode on Windows NT, you can also use the mouse pointer to activate the menu bar.)
  2. Use the ¨ and keys to navigate through the menus on the menu bar and highlight the File menu.
  3. Press the Ø key to pull down the menu.
  4. Use the Ø and ¦ to navigate through the menu options on the File menu and highlight the Exit menu option. Then press RETURN or ENTER to choose the highlighted menu option.

Another way to execute a menu option is to use mnemonics. A mnemonic is a character associated with a menu or menu option. If the menu bar is active, you can type a mnemonic to display a menu or to execute a menu option. All menus and menu options in the Progress toolset have a mnemonic. The mnemonic is the underlined character from the label of the menu option and must be unique within a menu or the menu bar. For example, the mnemonic for the Help menu is the character “H”.

Here is how to choose the Exit option from the File menu using mnemonics:

  1. Press ENTER-MENUBAR (F3) to activate the menu bar. (Keep in mind that if you are running Progress in a character client mode on Windows, you can also use the mouse pointer to activate the menu bar.)
  2. Type f to display the File menu.
  3. Type x to choose the Exit menu option from the File menu.

The cursor keys are the best ways to explore menus in a tool and find out about available menu options. Once you become familiar with a tool, mnemonics offer a quicker way to get things done.

Progress Menu Conventions

All menu bars, menus, and menu options in the Progress toolset share several important characteristics:

Table 2–3 introduces Progress menu symbols.

Table 2–3: Progress Menu Symbols 
Menu Symbol
Description
menu option
Indicates that the menu option is a submenu. When the user chooses a submenu from a menu, additional menu options appear next to the original pull-down menu.
menu option . . .
Indicates that the menu option requires additional user input. When the user chooses a menu option with this symbol, a dialog box appears. Progress uses dialog boxes to prompt users for additional input before executing the function.
menu option
(on UNIX)
menu option
(on Windows)
Indicates that the menu option is a toggle for a tool setting. When the symbol is present, the setting is active or in the ON state.
menu option
Indicates that the menu option is a toggle for a tool setting. When the symbol is present, the setting is active or in the ON state.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095