.NET Customisation
User Guide
.NET Customisation
:
AVEVA C# Grid Control
: Provide Access to the Addin in Design
Provide Access to the Addin in Design
In order to see the addin inside Design you will need to do the following:
1.
Build the addin.DLL inside the Microsoft Visual Studio project.
2.
The majority of the menus and toolbars in these two AVEVA modules are still currently defined in PML. If you wish access to your addin functionality to be provided from a additional entry on an existing menu then it is necessary to add the following line shown in red to the PML form file appdesmain.pmlfrm which resides within the directory: "PMLLIB\design\forms". The other lines are shown to help you locate where to add the PML menu. This will add a PML menu option beneath the Display menu in Design, and will allow you to open the addin.
!menu.add('TOGGLE', 'My Data', '', 'My Data')
!menu.add('TOGGLE', 'Reference List', '', 'Reference List')
!menu.add('TOGGLE', 'Attributes Utility', '', 'Attributes Utility')
!menu.add('TOGGLE', 'Search Utility', '', 'Find Utility')
!menu.add('TOGGLE', 'Search Results', '', 'Output Utility')
!menu.add('TOGGLE', 'New Addin', '', 'New Addin')
Note:
You can also create your own toolbar which contained a menu item to open/close the addin.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.