XdConfirmButtons Enumeration

Microsoft Office InfoPath

The XdConfirmButtons enumeration is used to determine the type of buttons to be displayed in a message box. These enumerated values are used by the Confirm method of the UI object.

NameValueDescription
xdOKCancel 1OK and Cancel buttons are displayed.
xdYesNoCancel 3Yes, No, and Cancel buttons are displayed.
xdYesNo 4Yes and No buttons are displayed