On 18/03/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> There is
>
> frm.ShowModal;
> { Couldn't get ModalResult to work }
> if frm.Tag = 1 then // we need to jump
>
> You set ModalResult in the FormCreate, which is wrong. ModalResult should be
> set when the user presses the Ok button or the Cancel button. It is
> automatically set when closing the form.
Thanks! I made the change and updated svn.
Graeme.
--
There's no place like 127.0.0.1
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives