Appxweb Meta
Home > Developer > Scripting > View Method: msgDlg

msgDlg

Opens a message dialog box.

Syntax
AM_view.msgDlg(message, title, type)
Parameters
message(required). The message text within the dialog.
title(optional). The title of the dialog.
type(optional). "warning", "information", "question", "stop", "error"
Example
This example demonstrates displaying a message dialog box. The message presented is "Have a nice day", the title of the dialog is "My Message" and the dialog is an information type dialog.
AM_view.msgDlg("Have a nice day", "My Message", "information");