Incorrect modal results for QuestionDlg
Original Reporter info from Mantis: kpeters58
-
Reporter name: Kai
Original Reporter info from Mantis: kpeters58
- Reporter name: Kai
Description:
ShowMessage(IntToStr(QuestionDlg('Caption', 'Question.', mtConfirmation, [mrRetry, 'R', mrAbort, 'A', mrCancel, 'C'], 0)));
should return 4, 3, 2 (buttons clicked from left to right)
It does, however, return 3 for both the Abort & Cancel buttons - 2 is never returned.
Steps to reproduce:
Click buttons as indicated and inspect results.
Additional information:
There is no difference whether alternative captions are used or not.
Mantis conversion info:
- Mantis ID: 26094
- OS: Windows 7
- OS Build: Home Premium SP1
- Build: 44758
- Platform: Windows
- Version: 1.2.2
- Fixed in revision: r44852 (#258a876b)