On Thu, 11 Aug 2005 11:01:17 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:
> Alexander Todorov wrote:
> >> 2. Why can't multiple forms of the "same name" be created?
> >> Delphi has no problems with this.
> >
> >
> > In delphi the two forms are not with the exact same name. At work we
> > have an application with many forms that can be opened many times.
> > When TfMyForm is opened for the firms time its name is fMyForm
> > (suppose you named it this way in OI). The second time its opened
> > (e.g. obj := TfMyForm.Create) it has name something like fMyForm_1,
> > the third fMyForm_2 and so on.
> > I think when creating form dynamically Delphi automatically adds
> > numbers after the name to prevent errors. This is at least what i have
> > seen.
>
> DUH.... I've never noticed this. I tried it with Delphi 6 and indeed,
> the name is postfixed with _i
>
> Think we need to implement that.
Implemented.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives