The alert method displays an alert dialog box.
alert(System.Object cMsg, System.Int16 nIcon, System.Int16 nType, System.String cTitle);
cMsg
[optional] Message to be shown.
nIcon
[Not supported] Default value 1.
nType
[optional] Button configuration. 0: OK, 1: OK and Cancel, 2: Yes and No, and 3: Yes, No and Cancel.
cTitle
[optional] Dialog box title.
Returns the type of the button pressed by the user. 1: Ok, 2: Cancel, 3: No, and 4: Yes.
Member of app.