On Nov 13, 2007, at 2:44 PM, Damien Gerard wrote:


On Nov 13, 2007, at 2:42 PM, Damien Gerard wrote:



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 ?



May be SaveComponentToConfig and SaveComponentToConfig could help ?


Snif it uses ReadComponentFromBinaryStream anyway...


--
Damien Gerard
[EMAIL PROTECTED]



_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to