Share via


XdConfirmChoice Enumeration

InfoPath Developer Reference

The XdConfirmChoice enumeration is used to determine which button is clicked in a message box.

Version Information
 Version Added:  InfoPath 2003

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

Remarks

These enumerated values are used by the Confirm method of the UI object.