MsgBox Action

This action displays a message within a dialog box, waits for the user to click a button, and optionally returns a value indicating which button the user clicked.

Parameters

Title  -  (Optional)

Specifies the text of the title to appear within the title bar of the message box. To specify the title as an expression, prefix the title with an equals (=) sign.

Message  -  (Required)

Specifies the text of the message to be displayed. To specify the message as an expression, prefix the message with an equals (=) sign.

Icon  -  (Required)

Specifies the icon type to be displayed within the message box. It should be one of the pre-defined Icon constants.

Buttons  - (Required)

Specifies the buttons to appear on the message box. It should be one of the predefined Button constants.

Result  -  (Optional)

If specified this argument provides the name of the variable which will be assigned the result of which button was pressed. After the message box is dismissed, the return value will be one of the pre-defined Result constants.

See Also

InputBox action | MsgBox method


© 2004-2021 looksoftware. All rights reserved.