.NET Customisation
User Guide
.NET Customisation
:
Menu and Command Bar Customisation
:
Editing the UIC File
: Resource Editor
Resource Editor
The resource editor enables each of the currently loaded resource sets to be edited. It supports String, Icon and Bitmap resources. Each resource set can comprise of a number of resource files, comprising of the "Invariant Language" resource file and any number of locale specific resource files. To create a new resource file, refer to
Create a New Resource File
for further information.
Figure 3:6.
Customisation Dialog : View of string resource editor
Figure 3:7.
Customisation Dialog: View of bitmap resource editor
Resource Editor Command Bar
The resource editor command bar contains the following operations:
Save the resource file.
Copy a resource, so it can be pasted into another resource file.
Paste a resource.
Delete a resource.
Add a new resource (Icons and Bitmaps only). New bitmaps or icons can be added by drag-and-drop from a windows explorer. The resource id is generated from the filename capitalised and prefixed with "ID_". If there is a clash with an exiting resource then the following dialog will request confirmation of replacement.
String resource can be added for modified by editing them in the grid.
Select locale specific resource file for editing.
Add a new locale specific resource file to the resource file set.
Choosing a locale from the list of locales will add a new resource file specific for this locale. This can then be selected for editing.
Change layout style.
The icon and bitmap tabs also have a popup menu which provides access to these functions as well as a rename function. Double clicking on a resource also enters the rename mode.
Using Resources for Properties
Properties of tools which are strings or the Icon property can use resources for their value. Reference to a resource is made using the form <ResourceSet Name>:<Resource Id> as shown below:
The caption and icon properties can be set on a tool in the tool list by drag-and-drop from the resource editor onto the tool.
Standalone Resource Editor
There is a standalone version of the resource editor available to enable resource files to be created and edited. This program is called "ResourceEditor.exe" and can be found in the installation directory.
When started it will display a file selection dialog to enable you to choose an existing resource file or give the name of a new one. Refer to
Editing an existing Resources or Resx file
for further information.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.