alert Method

Microsoft FrontPage Visual Basic

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!"