Parent Topic: Preferences

Adding Menu Items

The Menu preference can be used to add menu items to the ImageWorks main menubar menus. In fact new menus can also be added.

The data arguments to the Menu preference have the following fields.

The names of all the menu items in ImageWorks can be established by running the DUMPMENU procedure in the ImageWorks modelling window.

Example:

This item in the preference file would add a new menu item to the Tools menu (which is named ToolsMI). The new entry would be named BounceMI, and have visible text "Bounce...". When selected the EASI+ procedure BOUNCE.EAS would be run.

 Menu: BOUNCE "Bounce..." ToolsMI BounceMI
The following example would create a new menu called Misc (and named MiscMI), and add one item to that menu which would invoke the EASI+ procedure AUTOLOAD.EAS.

 Menu: "" "Misc" MiscMI
 Menu: AUTOLOAD "Auto Load" MiscMI AutoLoadMI
See Also: Disabling Menu Items


Parent Topic: Preferences
About PCI Help Gateway