lfDialogMessage (Power Scripts)
Syntax | lfDialogMessage(message [, messageClass, messageSize]); | Package |
|
Alias |
| Pkg Usage |
|
Description
Displays a global message in a dialog box.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
message | String | Yes | The message to display. |
messageClass | String | No | Message type. Options are ERROR, WARNING, SUCCESS, and INFO (default). |
messageSize | String | No | Message size. Options are SMALL, MEDIUM (default), and BIG. |
Return Type
None
Example
The message will be displayed like in the image below.
lfDialogMessage("This is a dialog message!", "WARNING", "BIG");// where message = "This is a dialog message!" and messageClass = "WARNING" and messageSize = "BIG"If the messageClass is not specified an info message will be displayed as default 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.
.