XdConfirmChoice Enumeration

Microsoft Office InfoPath

The XdConfirmChoice enumeration is used to determine which button is clicked in a message box. These enumerated values are used by the Confirm method of the UI object.

NameValueDescription
xdOK 1The OK button was clicked.
xdCancel 2The Cancel button was clicked.
xdYes 6The Yes button was clicked.
xdNo 7The No button was clicked.