2009/4/28, Graeme Geldenhuys <graemeg.li...@gmail.com>: > On Tue, Apr 28, 2009 at 11:14 AM, Alexander Klenin <kle...@gmail.com> wrote: > >> > >> Better use > http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tcustombutton.modalresult.html > > > > BTW, this docs page is wrong, ModalResult is not a boolean as it implies. > > > > :-) Well spotted Alexander. I would also suggest the following page: > > http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tmodalresult.html > > links to the mrXXXX constants in the Controls.pp unit. After all, > that is what is used for modal results in code and Object Inspector, > not plain integer values. > >
Feel free to supply patches for stdctrls.xml and forms.xml in the lazarus/docs/xml/lcl directory. Vincent _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus