[Lazarus] Default button for QuestionDLG

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Oct 12 12:15:45 CEST 2014


How can I specify the default button for QuestionDLG?
First I thought that the first button is the default (that's how it
worked for Windows XP and Windows 7).
But now on Windows 8.1 suddenly different buttons are used as default.

I saw that MessageDLG allows to define a default button as an extra parameter.
But QuestionDLG seems not to have such parameter.
Why not?

On http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/questiondlg.html
it says: "QuestionDlg has the same functionality as MessageDl"
But MessageDLG has 6 versions while QuestionDLG only has 2.




More information about the Lazarus mailing list