[DUG] Storing extra data with a component
Phil Scadden
p.scadden at gns.cri.nz
Thu Jun 9 12:24:49 NZST 2005
I have a component thus:
Tmycomponent: Class(Tcomponent)
....
.....
Obj:Tobject;
end;
Another object hold a Tcollection of this component and storage of data is
nice and easy by just saving the object to a stream.
now, suppose the object assigned to Obj is a TCollection, is there a way to
get the Obj value stored and restored too? I have source code all the way
but I am very reluctant to subclass Tmycollection since its functionality
is buried deep into toolbars etc.
----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232
More information about the Delphi
mailing list