Availability
This routine is available starting with
- Power Scripts™ 2.5
- SIL Engine™ (former 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 | Yes | 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.
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