On Nov 13, 2007, at 1:19 PM, Mattias Gaertner wrote:

On Tue, 13 Nov 2007 12:30:46 +0100
Damien Gerard <[EMAIL PROTECTED]> wrote:


On Nov 13, 2007, at 10:51 AM, Damien Gerard wrote:




I modifed the example in order to use a TPanel instead of the
TGroupBox. The read is well done due to the stream in the LFM format
is perfect.

But when you try to write components from the stream it does'nt work.

I'm not sure, what you mean.
You can write components to stream or read components from stream.

I just tested: Changing the TGroupBox with TPanel in the example works.
Just use right click on AGroupBox (designer) / Change class / choose
TPanel and click ok.
Then change (or add) in OnFindClass TGroupBox to TPanel.


Oo I am so stupid I found my mistake. It works indeed. Sorry for the inconvenience.



Mattias



--
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