qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Menu Design Window
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Menu Design Window
 
 ■ The Menu Design window enables you to create custom menus for your
   application and define their properties.
 
 ■ To open the Menu Design window, select a form and then choose Menu Design
   Window from the Window menu.
 
 ■ The Menu Design window contains the following items:
 
   ┌────────────────────────── Menu Design Window ──────────────────────────┐
   │           ┌─────────────────────┐        ┌──────────────┐  ┌────────┐  │
   │  Caption: │                     │   Tag: │              │  │  Done  │  │
   │           └─────────────────────┘        └──────────────┘  └────────┘  │
   │           ┌─────────────────────┐        ┌──────────────┐  ┌────────┐  │
   │  CtlName: │                     │ Index: │              │  │ Cancel │  │
   │           └─────────────────────┘        └──────────────┘  └────────┘  │
   │  [ ] Checked  [X] Enabled   Shortcut Key: [(none)     ] ↓  ┌────────┐  │
   │  [X] Visible  [ ] Separator                                │  Help  │  │
   │  ┌───┐ ┌───┐ ┌───┐ ┌───┐ ╔════════╗ ┌────────┐ ┌────────┐  └────────┘  │
   │  │  │ │  │ │ ▲ │ │ ▼ │ ║  Next  ║ │ Insert │ │ Delete │              │
   │  └───┘ └───┘ └───┘ └───┘ ╚════════╝ └────────┘ └────────┘              │
   │  ┌──────────────────────────────────────────────────────┐              │
   │  │                                                      ↑              │
   │  │                                                      ░              │
   │  │                                                      ↓              │
   │  └──────────────────────────────────────────────────────┘              │
   └────────────────────────────────────────────────────────────────────────┘
   1. Text box in which you enter the menu or command name that will appear
      on your menu bar or in your menu.
      • To create a separator bar on your menu, type a single hyphen (-)
        here.
      • To give the user keyboard access to the menu item, insert an
        ampersand (&) before a letter. At run time, this letter is
        underlined, and the user can access the menu or command by
        pressing Alt+ the letter.
                                                    ┌──────────────────────┐
                                           Caption: │                      │
                                                    └──────────────────────┘
 
   2. Text box in which you enter a control name for the menu item. A control
      name is an identifier used to access the menu item in code; it does not
      appear in a menu.
                                                    ┌──────────────────────┐
                                           CtlName: │                      │
                                                    └──────────────────────┘
 
   3. Text box in which you may enter a Tag property value. The Tag property
      is used to assign a unique identification string to an object without
      affecting any of its other property settings.
                                                           ┌───────────────┐
                                                       Tag:│               │
                                                           └───────────────┘
 
   4. Text box in which you assign a numeric value that determines the
      control's position within a control array. This position is not related
      to the screen position.
                                                           ┌───────────────┐
                                                     Index:│               │
                                                           └───────────────┘
 
   5. A check box you select if you want a check mark to appear initially at
      the left of a menu item. This is generally used to indicate whether a
      toggle option is turned on or off.
                                                                 [ ] Checked
 
   6. A check box you select if you want the menu item to respond to events
      or to be unavailable and appear dimmed on the menu.
                                                                 [X] Enabled
 
   7. A check box where you indicate whether you want the menu item to
      appear on the menu.
                                                                 [X] Visible
 
   8. A check box where you indicate the value of the menu control's
      Separator property. The default value is False for normal menu items.
      Check the selection to set the property value to True to display the
      menu item as a separator bar. Entering a hyphen (-) as the menu control
      caption automatically selects this option.
                                                               [X] Separator
 
   9. A drop-down list box from which you can select a shortcut key.
 
                                          Shortcut Key: [(none)          ] ↓
 
  10. A set of outlining keys that allow you to manipulate the selected menu
      item.
 
      ┌───┐┌───┐ Use these keys to change the level of a menu from a
      │  ││  │ higher level to a lower level. You can create up to
      └───┘└───┘ six levels of menus. If you do not have a mouse,
                         press Alt+R () or Alt+L ().
 
      ┌───┐┌───┐ Use these keys to change the position of a menu item
      │ ▲ ││ ▼ │ within the same menu level (up or down in the menu
      └───┘└───┘ list). If you do not have a mouse, press Alt + up
                         or down arrow key.
 
  11. List box that displays a hierarchical list of menu items. Lower-level
      menu items are indented to indicate their hierarchical position.
 
                                             ┌─────────────────────────────┐
                                             │ Root Canal           Ctrl+A │
                                             └─────────────────────────────┘
  12. The Menu Design window also has the following buttons:
      • Next    Moves selection to the next line.
      • Insert  Inserts a line in the list box before the currently selected
                line.
      • Delete  Deletes the currently selected line.
      • Done    Closes the Menu Design window and applies all menu changes
                to the last form you selected. The menu is available at
                design time but no events are generated.
      • Cancel  Closes the Menu Design window and cancels all changes.
      • Help    Opens help window with information on how to use the
                Menu Design window
 
 See: Creating a Menu    Editing a Menu    Menu Design Window Keys