asi
asked on
Copy component properties
Hello,
Is there a general way to copy component properties (Only the published) from component A to B (same type)
I assume that not every component that descendent from TComponent have update assign procedure.
thank u
Asi
Is there a general way to copy component properties (Only the published) from component A to B (same type)
I assume that not every component that descendent from TComponent have update assign procedure.
thank u
Asi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Component A writes itself to a TMemoryStream and component B reads itself from that same stream.
Have a look at TWriter.WriteComponent in the help for a starter.