ApplMessages
ApplMessages
EntitySet of application messages.
Fields
ApplMessCode | A number that uniquely identifies the message. This number is used in calls to pUserMessage. |
ApplMessType | This code (‘E’ or ‘S’ for an error message, ‘W’ for a warning, ‘I’ for an information message, and ‘Q’ for a question) is translated into the appropriate type value for $MessageBox. |
ApplMessStyle | Identifies the number and types of buttons that appears in the message window. This is the message style as defined for $MessageBox. |
ApplMessDefault | Identifies the default button in the message window. |
ApplMessage | Identifies the actual message text. Messages can include parameters that is filled in at run time (see pUserMsgParm for details on setting parameter values). A parameter is of the form “&n” where “n” can be 1 to 10. The message text can also contain the string “r” that indicates that the remainder of the message is to be placed on a new line. |
ApplMessOwner | Defines the owner of this entry. Standard entries have ApplMessOwner set to “System:. If you add your own application specific entries, you should specify a different owner, “Application” for example. You should not change or delete any entries with a “System” owner. This field is not used by pUserMessage. Its purpose is to distinguish standard entries from application specific entries. |
ApplMessLang | Defines the language of the message. This field flags which natural language the message text is written in. Messages supplied with DC have ApplMessLang set to “E” to indicate English. You can insert additional messages using a different language flag. pUserMessage inspects this flag to ensure that messages in the appropriate language are used. |
Comments
ApplMessages is an EntitySet defined in $DeployServices. Every Zim database has its own copy of ApplMessages. The Framework uses the $MessageBox function to produce messages and the fields of ApplMessages correspond closely to the parameters to that function.
Note: The actual filename for the ApplMessages is Zim0127 and is located in a subdirectory of your database directory called DPSRT.
Standard Application Messages
A number of message templates are provided with the Development Center. You can browse through these standard messages, update them, or add your own using the Tools | End User Messages menu.