[Lazarus] MessageDlg() can't return a mbHelp result

Bart bartjunk64 at gmail.com
Thu Sep 13 16:10:06 CEST 2012


On 9/12/12, Graeme Geldenhuys <graeme at geldenhuys.co.uk> wrote:

> So does LCL behave the same as VCL in this instance? Does LCL's
> MessageDlg() also invoke the help system? If not, wouldn't it be useful
> to return mrHelp, so the developer could manually invoke the help system
> after observing the MessageDlg() result?
>
> Regards,
>    - Graeme -
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>

The MessageDlg is supposed to be compatible with Delphi.
Clicking on "Help" should not close this dialog, hence the button
needs to have ModalResult = mrNone.

I don't know if we have the mechanismes to open help if "help" is clicked.
Even in Delphi this (implementing help) was beyond me ...

Bart




More information about the Lazarus mailing list