How to Define Your Own System Messages

Previous Next

See Also

To define a message category:

1. From the menu bar, choose Tools, Language, Message Categories.
2. Enter a name for each of the categories that you want to distinguish, and make sure NOT to check the System box.

To define your own system messages:

1. From the menu bar, choose Tools, Language, System Messages.
2. For each of your system messages:
· Type a code (number) and choose a category that together makes the message unique.
· Enter a name. This name will be used (together with the category) to call your message by means of the MessageLanguage() application method.
· Type the message. If the message needs parameters, indicate their name/position by means of angle brackets (e.g. "Hello <param1> of the <param2> department").
· Optionally, enter the date (for example if you change a message).
· If required, specify the map number of the corresponding help topic. The help file from which this topic is taken is indicated by means of the help-on-last-message(<help_file>) action that you need to include in the menu of your application. See "Help on Last Message".
3. From the menu bar, choose Box, Related, System Message Parameters Valid For System Message.
4. For each of the parameters that your message needs:
· Type the parameter name as used in the message text, but without the angle brackets < > (e.g. "param1" instead of "<param1>". This name must be unique within the parameter set of this message
· Type a sequence number that is unique within the parameter set of this message. This sequence number determines the order in which values are passed to this message by means of the MessageLanguage() application method.
· Type a short explanation of what the parameter does.
5. Save your changes.