Visual Programming User Guide : Advanced Visual Programming : Adding messages : Adding message boxes using the NLS Workspace - Indexed Messages window
Adding message boxes using the NLS Workspace - Indexed Messages window
For large applications that use several messages, you might find it easier to create and maintain messages using the NLS Workspace - Indexed Messages window. By changing and evaluating scripts shown in the window, you can quickly define several messages. To display the messages, you must add scripts to your application that display a message when a specific condition occurs.
This section describes how to define and display indexed messages using scripts. The steps you complete to define and display indexed messages are, in brief, as follows:
1. Declare a message group for the application.
2. Add message text to an application edition by evaluating a script that sends the method abtNlmAddIndexedMessage:. This creates a PRAGMA method in your application, or updates it if one exists, and adds the NLS information to the application edition in the library. Creating messages describes what you evaluate.
3. Build a message pool and repository (.mpr) file. Binding message strings and Translating text in messages, windows, and pool dictionaries describe what an .mpr file is and how to build one.
4. Make sure your image is synchronized with the new .mpr file. Select NLS > Rebind Image Strings from the Tools menu of the System Transcript window. (See Binding message strings.)
5. Version and release your changed application.
Last modified date: 01/29/2015