[Lazarus] Lazarus 1.6 and QuestionDLG

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Dec 13 16:38:39 CET 2015


I just saw that with Lazarus 1.6 QuestionDLG has been changed (too).
My code:

                   Answer := QuestionDlg('File overwrite',S2,
                                          mtConfirmation,[mrNo, '&No','IsDefault',
                                                          mrYes, '&Yes',
mrIgnore,'ne&Ver',
                                                          mrAll, 'a&LL',
                                                          488, '&Older files only',
                                                          588, 'files with different &Size and date only',
                                                          188, 'copy/move with &Different name',
                                                          288, 'rename existing &Target file (prior to '+S+')',
                                                          388, '&Compare files',
                                                          mrAbort, '&Abort '+S],0);

(with S2 beeing the text) showed this dialog with Lazarus 1.4 :




Now it looks like this:



The idea of using a TMemo is not bad but then it should have the width of the
window so that my text is not broken into more lines than neseccary.


Also, the escape key no longer selects mrAbort.
I cannot exit from the dialog with escape.
Is this intended?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151213/4698c20a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fbaaahad.png
Type: image/png
Size: 16535 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151213/4698c20a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdedhbei.png
Type: image/png
Size: 15812 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151213/4698c20a/attachment-0005.png>


More information about the Lazarus mailing list