[Lazarus] Lazarus 1.6 and QuestionDLG

Jürgen Hestermann juergen.hestermann at gmx.de
Sat Dec 19 11:17:26 CET 2015


Am 2015-12-13 um 16:52 schrieb Ondrej Pokorny:
 > The escape key selects mrCancel now (this was changed) -

I am not sure I understand this right.
Does it mean, mrCancel needs to be
checked too in a case statement like this?

case QuestionDlg('COPYING',
                  'Abort?',
                  mtConfirmation,
                  [mrNo, '&No','IsDefault',
                  mrYes,'&Yes'],0) of
    mrYes : ...
    mrNo : ...
    end; // of case

Can the result be mcCancel even when it's not part
of the parameter list of the QuestionDlg function?
That would be strange.




More information about the Lazarus mailing list