To create a generic message:
Choose KB-Workspace > New Free Text > message
![]() |
Creating a New Message Class
You can create your own message classes to define a particular font size, font and background color, and so on. For example, you could create a message class called USER-WARNING-MESSAGE that uses an extra-large font and has a red background. You could then use instances of this class to alert users to problems while the KB is running.
To create an instance of the message class:
Choose KB Workspace > New Free Text > message > message-class
Message classes have an initializable system attribute, the
Default-message-properties attribute, which controls how instances of a message class appear. You can set the default appearance of a message by initializing this attribute appropriately, as described under Specifying Default Message Properties. You can also change message properties programmatically, as described under Using Actions With Messages.
The next figure illustrates a user-defined message class,
KMM-MESSAGE, showing the text of the Default-message-properties attribute of the definition, an instance of that class, and a generic, system-defined message.
![]() |