Opening the Menu Designer

From RAD Studio
Jump to: navigation, search

Go Up to Creating and Managing Menus


You design menus for your application using the Menu Designer, which is available on the Form Designer.


To open the Menu Designer

  1. Add a menu component such as TMainMenu or TPopupMenu to your form by double-clicking the component name in the Tool Palette. Both these menu components are located in the Standard category of the Tool Palette:
MainMenu and PopupMenu components
  • A TMainMenu component creates a menu that is attached to the title bar of the form.
  • A TPopupMenu component creates a menu that appears when the user right-clicks the form. Pop-up menus do not have a menu bar.
  1. In the Object Inspector and Form Designer, the menu component appears as follows:
    Menu on Form
  2. Do either of the following:
    • On the Form Designer, double-click the menu component.
    • On the Object Inspector, select the Items property on the Properties page, and then either double-click (Menu) in the Value column, or click the ellipsis (...) button.
  3. The Menu Designer appears, with the first (blank) placeholder highlighted in the Designer, and the Caption property selected in the Object Inspector:

    Menu Designer


The next step is to add the menu items.

To automatically create a menu

Instead of using the Menu Designer, you can automatically create a menu using actions.


See Also