Skip to main content
Version: 4.1

MsgBoxStyle

Namespace: Wisej.Web.VisualBasic

Assembly: Wisej.Framework (4.1.0.0)

Indicates which buttons to display when calling the MsgBox function.

public enum MsgBoxStyle : Enum

Fields

NameDescription
AbortRetryIgnoreAbort, Retry, and Ignore buttons. This member is equivalent to the Visual Basic constant vbAbortRetryIgnore.
ApplicationModalApplication modal message box. This member is equivalent to the Visual Basic constant vbApplicationModal.
CriticalCritical message. This member is equivalent to the Visual Basic constant vbCritical.
DefaultButton1First button is default. This member is equivalent to the Visual Basic constant vbDefaultButton1.
DefaultButton2Second button is default. This member is equivalent to the Visual Basic constant vbDefaultButton2.
DefaultButton3Third button is default. This member is equivalent to the Visual Basic constant vbDefaultButton3.
ExclamationWarning message. This member is equivalent to the Visual Basic constant vbExclamation.
InformationInformation message. This member is equivalent to the Visual Basic constant vbInformation.
MsgBoxHelpHelp text. This member is equivalent to the Visual Basic constant vbMsgBoxHelp.
MsgBoxRightRight-aligned text. This member is equivalent to the Visual Basic constant vbMsgBoxRight.
MsgBoxRtlReadingRight-to-left reading text (Hebrew and Arabic systems). This member is equivalent to the Visual Basic constant vbMsgBoxRtlReading.
MsgBoxSetForegroundForeground message box window. This member is equivalent to the Visual Basic constant vbMsgBoxSetForeground.
OkCancelOK and Cancel buttons. This member is equivalent to the Visual Basic constant vbOKCancel.
OkOnlyOK button only (default). This member is equivalent to the Visual Basic constant vbOKOnly.
QuestionWarning query. This member is equivalent to the Visual Basic constant vbQuestion.
RetryCancelRetry and Cancel buttons. This member is equivalent to the Visual Basic constant vbRetryCancel.
SystemModalSystem modal message box. This member is equivalent to the Visual Basic constant vbSystemModal.
YesNoYes and No buttons. This member is equivalent to the Visual Basic constant vbYesNo.
YesNoCancelYes, No, and Cancel buttons. This member is equivalent to the Visual Basic constant vbYesNoCancel.

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.
Interaction.MsgBoxAsyncAsynchronously displays 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.