[Lazarus] Default button for QuestionDLG

2014-10-12 Thread Jürgen Hestermann

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.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-12 Thread Bart
On 10/9/14, Maxim Ganetsky gan...@narod.ru wrote:

 2. PoChecker always complains about .po files from debian\po Lazarus
 subdirectory.

 Complains = ?

 See attached screenshot. Apparently it erroneously treats these files as
 master ones.

Fixed (rather in a crude way) in r46533.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Default button for QuestionDLG

2014-10-12 Thread Bart
On 10/12/14, Jürgen Hestermann juergen.hesterm...@gmx.de wrote:

 How can I specify the default button for QuestionDLG?

function QuestionDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType;
Buttons: array of const; HelpCtx: Longint): TModalResult;

In the Buttons array of const, add the string  'isdefault' after the
button you want to be the default one.

Take a look at the implementation.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-12 Thread Bart
On 10/9/14, Péter Gábor p...@freemail.hu wrote:

 - Showing the results as Graphic summary may take a very long time
 depending on the number of files, so the dialog may show a Please
 wait... and/or a counting from 0..NumberOfFiles to indicate that it's
 not frozen. I think it can be: I was waiting for the results (graphics)
 to show up for more than seven(!) minutes but nothing happened then
 killed the IDE manually. Maybe the problem is the image's size.

Please test with r46535.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus