On Mon, Aug 15, 2005 at 12:09:37AM +0200, Marc Weustink wrote:
> Mattias Gaertner wrote:
> >On Sat, 13 Aug 2005 23:20:05 +0200
> >
> >You create the two forms with Owner Self (=MainForm).
> >This is not allowed. The components of a form must have unique names or
> >none.
> >
> >Create with Owner 'Application'. This will auto rename the forms.
> 
> This is not the same as in delphi.
> There names are fixed in TReader.ReadRootComponent which uses 
> FindGlobalComponent (which looks in Screen.Forms). This is independent 
> of the owner of the form

I can confirm that my original Delphi application, where the owner was
NOT Application, works with multiple instances of the same form.

The workaround provided by the current (rev. 7497) Lazarus implementation
is fine with me.  But future improvement would certainly be helpful.

        Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Fac. of Math. & Computing Science
PHONE:  +31 40 247 41 25        | Eindhoven University of Technology
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to