MessageLanguage()

Previous Next

Displays a system message in the language specified at startup. Use this instead of MessageInformation(), MessageError(), or MessageWarning() if your application needs to run in multiple languages. The system messages are defined in the repository, as are the categories into which you can divide them.

Syntax

MessageLanguage( <category>, <message name>, <type>, [<yes-action>, <no-action>] [,<value1>, <value2>...])

Parameters

category

A message category as defined in the repository.

message name

The name of the message to be displayed.

type

INFORMATION , WARNING, ERROR, or QUESTION.

yes action

If the message type is QUESTION, the action to be performed when the end user clicks the Yes button on the message dialog.

no action

If the message type is QUESTION, the action to be performed when the end user clicks the No button on the message dialog.

value1, value2

Values to be substituted as parameters in the message, if any.

Example

MessageLanguage('nice messages','my_message_1','INFORMATION')