On Tue, 18 Jun 2013 17:42:58 +0100
"vfclists ." <[email protected]> wrote:

> On 18 June 2013 13:20, Mattias Gaertner <[email protected]> wrote:
> 
> >
> >
> > > "vfclists ." <[email protected]> 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
 

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to