[Lazarus] Namespace

Sven Barth pascaldragon at googlemail.com
Sun Aug 20 19:26:19 CEST 2017


Am 20.08.2017 18:55 schrieb "Marcos Douglas B. Santos via Lazarus" <
lazarus at lists.lazarus-ide.org>:
>
> On Wed, Jan 12, 2011 at 3:53 PM, Sven Barth <pascaldragon at googlemail.com>
wrote:
> > On 12.01.2011 18:24, Mattias Gaertner wrote:
> >>
> >> Marcos Douglas <md at delfire.net> hat am 12. Januar 2011 um 18:05
> >> geschrieben:
> >>
> >>  > On Wed, Jan 12, 2011 at 1:57 PM, Andreas Schneider <aksdb at gmx.de>
> >> wrote:
> >>  > >
> >>  > > ... which you can already do. The unit order in the uses clause
> >>  > > already determines which identifier is chosen when you do *not*
> >>  > > specify a unit explicitly. So just make sure that LCL's TButton is
> >>  > > always the default one and you can still use your own TButton by
> >>  > > prefixing it with your own unitname. All you want is already there
> >> and
> >>  > > seems to cover 99% of the usecases.
> >>  >
> >>  > But I can register a component called TButton?
> >>
> >> No, that would conflict with the LCL TButton. See the FCL function
> >> FindClass.
> >
> >
> > If I see that right, then even if Lazarus would implement this it would
need
> > a new FPC release with an extended FindClass to enable this. As the
current
> > release is just two months old this might not happen in just some weeks.
>
> Hi Sven.
> Do you have any news about it?

Why should I have any news? I merely stated what would need to happen if
this is to be changed.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170820/7a6bc3dc/attachment.html>


More information about the Lazarus mailing list