Skip to main content
Version: 3.5

MsgBoxResult

Namespace: Wisej.Web.VisualBasic

Assembly: Wisej.Framework (3.5.0.0)

Indicates which button was pressed on a message box, returned by the MsgBox function.

public enum MsgBoxResult : Enum

Fields

NameDescription
AbortAbort button was pressed. This member is equivalent to the Visual Basic constant vbAbort.
CancelCancel button was pressed. This member is equivalent to the Visual Basic constant vbCancel.
IgnoreIgnore button was pressed. This member is equivalent to the Visual Basic constant vbIgnore.
NoNo button was pressed. This member is equivalent to the Visual Basic constant vbNo.
NoneNothing is returned from the dialog box.
OkOK button was pressed. This member is equivalent to the Visual Basic constant vbOK.
RetryRetry button was pressed. This member is equivalent to the Visual Basic constant vbRetry.
YesYes button was pressed. This member is equivalent to the Visual Basic constant vbYes.

Used By

NameDescription
Interaction.MsgBoxDisplays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.