'A component named %s already exists'
raised ??
Thanks
Paul
'Cause an exception was raised in the destroy the component ( prob a form)' .
Richard Storm.
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
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.