Delphi XE2 has introduced a
DFM-breaking change in some (4) of the values of mrXXX constants that are used as ModalResult values for buttons and dialogs, among others. In this blog post I provide a workaround that can prevent some frustration and help you fix this issue in your own projects.
More...