Add-in Object
- Last UpdatedJan 09, 2024
- 1 minute read
A user-defined object type, the add-in object, is used to define toolbars and menus for an add-in. An instance of this object is created and its methods are run at specific points.
The method .modifyForm() of each add-in object is called during definition of the main form so that add-ins may create their own toolbars on the main form; .modifyMenus() is called when starting Marine to create menu options.
For applications, .initialiseForm() is called when switching to the application.
It is not mandatory for all these methods to be present, and if one is not present, execution continues as normal. It is possible to specify no object if you wish only to use the other properties of the add-in.