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 AVEVA E3Dâ„¢ to create menu options.
For applications, .initialiseForm() is called when switching to the application.