On 18 June 2013 17:59, Mattias Gaertner <nc-gaert...@netcologne.de> wrote:

> On Tue, 18 Jun 2013 17:42:58 +0100
> "vfclists ." <vfcli...@gmail.com> wrote:
>
> > On 18 June 2013 13:20, Mattias Gaertner <nc-gaert...@netcologne.de>
> wrote:
> >
> > >
> > >
> > > > "vfclists ." <vfcli...@gmail.com> hat am 18. Juni 2013 um 13:29
> > > geschrieben:
> > > >
> > > >
> > > >  Does Lazarus give default names to components created at runtime?
> > >
> > > No. Default is ''.
> > >
> > > Mattias
> > >
> > >
> > Is there function in the LCL that can suggest or create a name for new
> > component, like in the IDE that creates a name from the component type
> and
> > an integer?
>
> The IDE one is a bit more complicated than that and it is pretty IDE
> specific, so it is not in the LCL.
> There are CreateFirstIdentifier and CreateNextIdentifier in
> LCLProc. Maybe they can help you.
>
> Mattias
>
>
>
I have checked CreateFirstIdentifier and CreateNextIdentifier and they
appear to fit the bill , but a comment in the source code says they have
been deprecated in favour of some new procedures in LazUtils.LazUTF8 which
I can't find.

Do you have some idea what the replacement procedures are?




-- 
Frank Church

=======================
http://devblog.brahmancreations.com
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to