alert Method
Displays a dialog box containing an application-defined message.
expression.alert(message)
*expression * Required. An expression that returns one of the objects in the Applies To list.
message Optional String. specifies the message to display in the Alert dialog box. If no value is provided, the dialog box contains no message.
Example
The following example displays a message box to the user.
ActiveDocument.parentWindow.alert "Hello!"
Applies to | FPHTMLWindow2 Object | FPHTMLWindowProxy Object | IHTMLWindow2 Object