Re: [Lazarus] pascal component stream

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 00:45, Mattias Gaertner het geskryf: 4. what to do with DefineProperties? What is that? What is it used for? I could find any help on that. Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? I had a look

Re: [Lazarus] pascal component stream

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 09:28:31 +0100 (CET) michael.vancann...@wisa.be wrote: On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 00:45, Mattias Gaertner het geskryf: 4. what to do with DefineProperties? What is that? What is it used for? I could find any help on that.

Re: [Lazarus] pascal component stream

2011-01-17 Thread Max Vlasov
On Mon, Jan 17, 2011 at 1:45 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Hi, Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? When the topic appears some time ago, I experimented creating procedure converting dfm text form into delphi code. Point 4 was a

Re: [Lazarus] pascal component stream

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 13:18:06 +0300 Max Vlasov max.vla...@gmail.com wrote: On Mon, Jan 17, 2011 at 1:45 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Hi, Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? When the topic appears some time ago, I

Re: [Lazarus] pascal component stream

2011-01-17 Thread Max Vlasov
On Mon, Jan 17, 2011 at 1:38 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 17 Jan 2011 13:18:06 +0300 Max Vlasov max.vla...@gmail.com wrote: For TStrings it was just assuming if token is '(' then it's TStrings (possible not always true, but there are so many TStrings

[Lazarus] pascal component stream

2011-01-16 Thread Mattias Gaertner
Hi, Some users suggested, that components should be stored in pascal source (optionally). IMO there is one big advantage: Storing in source means no need for the streaming system at runtime, which means no need for published properties/methods at runtime, which would help smart linking to reduce

Re: [Lazarus] pascal component stream

2011-01-16 Thread Graeme Geldenhuys
Op 2011-01-17 00:45, Mattias Gaertner het geskryf: 4. what to do with DefineProperties? What is that? What is it used for? I could find any help on that. Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? I had a look at the TStrings class definition in FPC 2.4.3.