You add menus to your application with a MenuBar object. A MenuBar object represents all the menus displayed by the form. MenuBar objects can be added only to forms that are based on the Frame class.
To add a menu to your application, you create a form whose type is Frame and drop a MenuBar object onto the form. You can add individual menus and menu items in the Menu Editor, accessed by selecting Edit Menu from the form’s pop-up menu.