It works ! :) hmm nearly :p
The {Read,Write}ComponentFromBinaryStream methods only clone the
components which are owned by the provided component (from the
documentation)
But, using the IDE, I have prepared a Panel with sub components. After
cloning this panel, the new components does not contain the expected
children.
The same thing appends if you're using the example. All components
added by the IDE are not duplicated.
Is there a tip to do it anyway ?
--
Damien Gerard
[EMAIL PROTECTED]
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives