VisualAge Help


Message table

The Message table shows the following information about the messages in the group specified:

Number
The 1- to 4-digit number of the message or text. You can specify your own number or let one be generated for you.

Constant name
A symbolic name you want to use to represent your message in a Smalltalk pool dictionary. The name must be alphanumeric and cannot contain DBCS strings. You use this name to retrieve the message when you display it. The default constant name is the string Const and the number appended to it. This must be a unique identifier for the message or text.

Type
The 1-character identifier for the type of message or text you are creating. Three common types of messages are: e for error, i for informational, and w for warning.

String
The actual text of the message you are creating. If you want to substitute values into the message text when you display the message, enter %n (such as %1 or %2) wherever you want the replacement text to go.

Translatable
Type Yes if you want the text to be translated or No if you do not want the text to be translated. VisualAge supports translation of text only for VisualAge Professional.

To select a message, select the number within the first column; otherwise, you'll be taken into edit mode for one of the other columns in the Message table

Note:You can resize columns in the table to display more of any column of information. For example, to see a long String entry, you can select the bar after that column using mouse button 1 and drag it to the right to allow more room for that text.

Pop-up menu choices

Add Next Message
Adds a message after the selected message in the list. If you do not have any messages in the list, then this option is not available.

Add Next Message At
Adds a message with the number that you specify. You must specify a unique message number.

Renumber Message
Changes the number of the selected message to the message number you specify.

Test Message
Generates and displays a message box based on the information specified for this group and for the selected message.

Browse References
Locates and browses where the constant name for the selected message is located within your code.

Delete Message
Deletes the selected message from the list.

For more information about creating messages for your product or application, refer to the VisualAge User's Guide.


[ Top of Page | Previous Page | Table of Contents ]