Message Box Result Enumeration

Find below the list of visual basic (VB) constants used to determine a message box result as per MsgBoxResult enumeration. These constants represent an Integer value indicating which button was clicked in a dialog box generated with MsgBox. See more about the MsgBox function in this other page.

Constant

Value

Description

vbOK

1

OK

vbCancel

2

Cancel

vbAbort

3

Abort

vbRetry

4

Retry

vbIgnore

5

Ignore

vbYes

6

Yes

vbNo

7

No

 

 Enumerations

 

No comments:

Post a Comment

Popular Posts