[Lazarus] Setting ModalResult

Richard Mace richard.mace at gmail.com
Wed Mar 14 08:00:00 CET 2012


2012/3/13 Flávio Etrusco <flavio.etrusco at gmail.com>

> Do you set the ModalResult in the button or in the form? If the
> former, is there any specific reason for it?
>
>
It's on the form.
Just to clarify, it does actually set the ModalResult up correctly, it just
doesn't close the form, until you click the OK button the second time.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120314/7ca45ab9/attachment-0003.html>


More information about the Lazarus mailing list