interface > interface menubar modify

www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index


Your Ad Here

interface menubar modify
Allows you to modify an existing menubar .
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 modify a menubar which may be further used to add menus for execution of various commands. For adding the menus and activating the menubar refer to ‘menubar_build’.
Format:
 
Example:
 
Description:
 
Extended Definition:
1.
2.
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 menus 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.
3.
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. The vertical and horizontal resizing options are used to adjust the placement of the menubar 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’
Your Ad Here