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

ParameterTypeRequiredDescription
messageStringYesThe message to display.
messageClassStringNoThe 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