List Info

Thread: Object streaming




Object streaming
country flaguser name
United States
2007-09-26 10:04:08

Am looking for examples for complex component streaming to a file,
particularly how to create a component that contains other components
and saving that structure and their published properties to file and
then re-creating that component later

__._,_.___
.

__,_._,___
Re: Object streaming
country flaguser name
United States
2007-09-28 06:24:12

--- In delphi-en%40yahoogroups.com">delphi-enyahoogroups.com, "dalewolver"; <dwolver...> wrote:
&gt;
> Am looking for examples for complex component streaming to a file,
> particularly how to create a component that contains other components
> and saving that structure and their published properties to file and
> then re-creating that component later
&gt;

The best description I've seen on the topic is an article by Chris
Lichti that demonstrates how to save states using streaming by
modelling descendants of TPersistent and TComponent.
You can read it here:
http://chris.lichti.org/Lab/Pegboard/Pegboard.shtml

His PegBoard demo program where he shows how to effortlessly save the
entire state of the pegboard game with virtually no effort is very
enlightening.

Ian.

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )