On Nov 12, 2007, at 8:37 PM, Mattias Gaertner wrote:
On Mon, 12 Nov 2007 22:04:55 +0300
Al Boldi <[EMAIL PROTECTED]> wrote:
Vincent Snijders wrote:
Mattias Gaertner schreef:
On Mon, 12 Nov 2007, Damien Gerard wrote:
I use this :
http://wiki.lazarus.freepascal.org/Streaming_components
However I ve got an exception error : Class "" not found (I
put only a panel).
<snip>
Maybe this helps:
lazarus/examples/componentstreaming/
http://wiki.lazarus.freepascal.org/Streaming_components
Maybe it didn't work.
You are right.
Did you add TPanel to procedure TCompStreamDemoForm.OnFindClass?
Maybe this could be wrapped into a clone method.
It would be pretty slow, so implementing the Assign method is almost
always better. For the rare cases where such a clone method makes
sense:
You must provide an TFindComponentClassEvent event and register the
classes somewhere.
Due to the example program works perfectly (<lazdir>/examples/
componentsstreaming) I assume the issue comes from my program which do
not do the right thing to do.
--
Damien Gerard
[EMAIL PROTECTED]
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives