www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index
The menubar can be created on main_window, popup_window, ppt_main_window, or a user defined custom window. The menubar can further be built up by adding menus, which are associated with Adams commands.This command is used to create a menubar which is then used to add menus for execution of various commands. For adding the menus and activating the menubar refer to ‘menubar_build’.
1. A menubar contains various menus. Each of these menus may be associated with different commands. Such a menubar can be created by this command. adding menus and commands to the buttons is done by ‘interface menubar build’ command. The menubar can be displayed on the main_window, popup_window, ppt_main_window, or a user defined custom window.
2. The menubar is enabled by the parameter ‘enabled’. The popup_help_text and documentation is specified. The size of the menubar can be specified either in terms of number of pixels. Alternatively, the size can also be stated as relative to the Adams window.
3. The vertical and horizontal resizing options are used to adjust the placement of the menu on existing window. For example, attach_left; attach_top options for Horiz_resizing and Vert_resizing will place the menu on the top left corner of the window box. The location can also be specified from the top left corner by adjusting the parameter ‘location’