Adding Menus
  


            The Visual Designer allows you to define Menus through the Forms Properties Dialog. Notice on the Dailog the section for a Editing a Menu:

graphic


            To Edit (or define) a Menu click on the "Edit Menu" button and the Menu Builder dialog will appear. It looks like this:

graphic

            You can add items or delete them from the Menu list. You can define three levels of menus in the Designer. The Main Menu Bar , Drop Down Menus from each Main Menu Bar item and Sub Menus off any item on the Drop Down Menu items. The menu list is a dragable listbox so you can drag the items around to change their order.

            To edit a menu item, double click the item and the Menu Item Dialog will appear. It looks like this:

graphic

            The menu item Name and Text can be edited here. Also you can define a number of attributes of the menu item such as whether it is a Main Menu Item, Drop Down Item or a Sub Menu item. The "MDI Form List" checkbox is only for first item in a Drop Down menu list which will be used to display all the names of the child MDI forms displayed (it is usually a drop down menu list off the Main Menu Bars "Windows" item).

            You can define other attributes such a Disabled, Checked or OwnerDraw. Click the Finish button once the menu item is defined.