MESSAGE Function (Notification)
Specifies the content of the notification.
[CurrMESSAGE := ]MESSAGE([NewMESSAGE])
Parameters
NewMESSAGE
Type: Type: Code or text
The text string that you want to display for the notification. The string can be a text constant that is enabled for multilanguage functionality.
Return Value
CurrMESSAGE
Type: Code or text
The content of the current notification.
Remarks
The MESSAGE function defines the notification. You use the SEND function to send the notification to the client, where it will be displayed.
For more information and a detailed example, see Notifications.
Example
The following code creates a notification and sends it in the local scope.
MyNotification.MESSAGE := 'This is a notification';
MyNotification.SCOPE := NOTIFICATIONSCOPE::LocalScope;
MyNotification.SEND;
See Also
SCOPE Function(Notification)
SEND Function (Notification)
Notifications