On Wed, 12 Sep 2012 14:28:56 +0100
Graeme Geldenhuys <[email protected]> wrote:

> Hi,
> 
> Has anybody actually noticed that MessageDlg() can define the mbHelp 
> button as one of the displayed buttons, but can't return the mbHelp 
> button as a result, because DialogResults() has it commented out (or 
> rather defined as mrNone)!!

Delphi invokes the help system when a mbHelp button is pressed, so a
help button does not need a return value.
That's why there is no mrHelp.

I added a comment to DialogResults.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to