Opening the Menu Designer
You design menus for your application using the Menu Designer, which is available on the Form Designer.
To open the Menu Designer
- 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:
- In the Object Inspector and Form Designer, the menu component appears as follows: 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.
The next step is to add the menu items.
To automatically create a menu
You can also automatically create a menu by using action lists, as described in Organizing Actions for Toolbars and Menus. Action lists are an alternative to the Menu Designer.