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

Graeme Geldenhuys graeme at geldenhuys.co.uk
Wed Sep 12 16:21:19 CEST 2012


On 12/09/12 15:11, Mattias Gaertner wrote:
>
> 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.

OK, thanks for the info.

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 -





More information about the Lazarus mailing list