[Lazarus] Does Lazarus give default names to components created at runtime?
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Jun 18 18:59:44 CEST 2013
On Tue, 18 Jun 2013 17:42:58 +0100
"vfclists ." <vfclists at gmail.com> wrote:
> On 18 June 2013 13:20, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>
> >
> >
> > > "vfclists ." <vfclists at 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
More information about the Lazarus
mailing list