On 9/12/12, Graeme Geldenhuys <[email protected]> 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 > [email protected] > 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
