To create the main menu and commands

  1. From the Standard page on the Components palette, place a MainMenu component on the main form.
  2. Double-click the MainMenu component.

The Menu designer (frMain.MainMenu1) displays with the first blank menu item highlighted.

3. In the Object Inspector on the Properties tab, enter mnFile for the Name property and &File for the Caption property; then press ENTER.

In the Menu designer, File displays as the name of the first menu item.

4. In the Menu designer, select File.

A blank command field displays in the File group. Select the blank command.

5. In the Object Inspector, enter mnNewChild for the Name property and &New child for the Caption property; then press ENTER.

In the Menu designer, New child displays as the name of the first file command, and a blank command field displays just beneath New child.

  1. Select the blank command.
  2. In the Object Inspector, enter mnCloseAll for the Name property and &Close All for the Caption property; then press ENTER.

In the Menu designer, Close All displays as the name of the second file command.

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment