The term for this is "cloning" an object.

There is no built in way of doing this in Delphi, and there are issues
involved in any cloning operation; e.g. are you interested in a shallow
clone (just the one object), or a deep clone (your one object, and all
objects to which it refers)?

Probably a google newsgroup search on Delphi+cloning+objects might give you
a few ideas on how to progress...

Cheers,

Conor

-----Original Message-----
From: Matthew Evans [mailto:[EMAIL PROTECTED]]

How can I make an exact copy of an object without creating it and going
through setting the properties of the original?
---------------------------------------------------------------------------
    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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to