dialogs.QuestionDlg crashes Lazarus if you use integer version
Original Reporter info from Mantis: wotanica
-
Reporter name: Jon Lennart Aasenden
Original Reporter info from Mantis: wotanica
- Reporter name: Jon Lennart Aasenden
Description:
dialogs.QuestionDlg have a couple of overloaded versions. I tried to use the integer implementation (that takes it's last parameter as an integer rather than a string).
So I called:
dialogs.QuestionDlg('test','more test', mtConfirmation,[mrYes,mrNo],0);
This crashed Lazarus, but before it went down it reported having problems with Button-names.
I opted to use the string version instead, which works fine:
dialogs.QuestionDlg('test','more test', mtConfirmation,[mrYes,mrNo],'');
Mantis conversion info:
- Mantis ID: 17421
- Version: 0.9.28.2