lfDialogMessage
Availability
This routine is available starting withÂ
- Power Scripts 2.5
- katl-commons 2.5
Syntax
lfDialogMessage(message, messageClass);
Description
Displays a global message in a dialog box.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
message | String | Yes | The message to display. |
messageClass | String | No | The message type. |
The messageClass parameter can be:
- ERROR: will display an error message
- WARNING: will display a warning message
- SUCCESS: will display a success message
- INFO: will display an info message
- HINT: will display a hint message.
If the messageClass is not specified an info message will be displayed as default.
Example
lfDialogMessage("This is a dialog message!", "WARNING");// where message = "This is a dialog message!" and messageClass = "WARNING"
 The message will be displayed like in the image below.
See also