constants OutResult
The OutResult type defines the buttons that a message box can handle. The Out method 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.

NameValueDescription
exCloseTimer-1 The dialog is closed after elapsing time. The AutoClose property specifies the number of seconds to let the message box being visible.
exClose0 The dialog has been closed.
exOK1 The OK button has been clicked.
exCancel2 The Cancel button has been clicked.
exAbort3 The Abort button has been clicked.
exRetry4 The Retry button has been clicked.
exIgnore5 The Ignore button has been clicked.
exYes6 The Yes button has been clicked.
exNo7 The No button has been clicked.