QuestionDlg dialog does not work correctly!
Original Reporter info from Mantis: Lion
-
Reporter name:
Original Reporter info from Mantis: Lion
- Reporter name:
Description:
If you close (Top, right, with the closing button.) the QuestionDlg, the query is true.
if QuestionDlg('Message', 'Here is the text ...', mtInformation, [mrYes, 'Yes', mrOk, 'Ok'], 0) = mrYes then Label1.Caption := 'Hi!';
Unso it is not true if you close the the QuestionDlg with closing button (top, right).
if QuestionDlg('Message', 'Here is the text ...', mtInformation, [mrYes, 'Yes', mrOk, 'Ok'], 0) = mrOk then Label1.Caption := 'Hi!';
Steps to reproduce:
if QuestionDlg('Message', 'Here is the text ...', mtInformation, [mrYes, 'Yes', mrOk, 'Ok'], 0) = mrYes then Label1.Caption := 'Hi!';
Mantis conversion info:
- Mantis ID: 26019
- OS: Windows
- OS Build: 7
- Build: 44303
- Platform: Intel Pentium
- Version: 1.2.0
- Fixed in version: 1.6
- Fixed in revision: 50369 (#b264b1d9)
- Monitored by: » Lion (Lion)