[Lazarus] pascal component stream

Max Vlasov max.vlasov at gmail.com
Mon Jan 17 16:37:56 CET 2011


On Mon, Jan 17, 2011 at 1:38 PM, Mattias Gaertner <nc-gaertnma at netcologne.de
> wrote:

> On Mon, 17 Jan 2011 13:18:06 +0300
> Max Vlasov <max.vlasov at 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 inside *CL and
> > user's codebase this is almost safe to assume)
>
> Ok. The pascal streamer is a driver level, so it knows the type and does
> not need to guess here.
>

It's ok, I just was confused by the fact that particular token leads to
particular 'Add(...'  calls, looked like a too-specific solution, but maybe
VCL always had something special about TStrings, I can't recall

How did you solve TOpenDialog.Left/Top?
>
>
I remember I noticed those but postponed and looks like didn't solve. As
long as I remember those exist for every TComponent that is not TControl,
CMIIW. The excuse was that if the feature itself is for run-time, it's not
big deal not to read design-time positions for them. But for consistency
sure it would be better to solve .

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110117/bdac4da8/attachment-0003.html>


More information about the Lazarus mailing list