Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error -- A component named %s already exists

466 views
Skip to first unread message

Paul

unread,
Oct 10, 2001, 9:32:10 AM10/10/01
to

Why is the errormessage

'A component named %s already exists'

raised ??

Thanks

Paul

STORM

unread,
Oct 10, 2001, 10:35:33 AM10/10/01
to


'Cause an exception was raised in the destroy the component ( prob a form)' .

Richard Storm.

Peter Below (TeamB)

unread,
Oct 12, 2001, 1:50:26 AM10/12/01
to
In article <3bc44dda$1_2@dnews>, Paul wrote:
> Why is the errormessage
>
> 'A component named %s already exists'
>
> raised ??


Do you really see the message with the %s placeholder in it? That would
be a bit unexpected. Usually you get a specific name there. The way the
VCL is build a components Name property has to contain a string that is
unique among the components owned by the same component, or it has to
be empty.


Peter Below (TeamB) 10011...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: I'm unable to visit the newsgroups every day at the moment,
so be patient if you don't get a reply immediately.

paul

unread,
Oct 12, 2001, 3:44:48 AM10/12/01
to

No, we don't get a %s.
We get the component name (a datamodule) underscore a number.

Paul

Peter Below (TeamB)

unread,
Oct 12, 2001, 2:53:41 PM10/12/01
to
In article <3bc69f70$1_2@dnews>, Paul wrote:
> No, we don't get a %s.
> We get the component name (a datamodule) underscore a number.

So you are creating to instances of this component with the same owner.
If you need that set the Name property of the first instance to empty
before you create the second.

0 new messages