hmm    that is what "assign" is supposed to do.

perhaps you have TCollectionItems in your collection that need overides
of their assign functions so TCollection.Assign() can copy the
contents

ns

-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Friday, 15 September 2000 10:44
Subject: RE: Re: [DUG]: TCollection = TCollection


>Ok....hmmm... I tried assign() but it still gave the error which I found
interesting, but I think I have got round the issue, I just free teh frist
collection, then createit again, then assign the items from the temp
collection back to it in a for loop...but more work on the PC....but it
works.
>BUt thanks for telling me why I was getting the error. It makes sence...
>
>Cheers, Jeremy Coulter
>
>
>
>
>---------------------------------------------------------------------------
>    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                  Website: http://www.delphi.org.nz
>To UnSub, send email to: [EMAIL PROTECTED]
>with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to