On Mon, Jan 17, 2011 at 1:38 PM, Mattias Gaertner <[email protected] > wrote:
> On Mon, 17 Jan 2011 13:18:06 +0300 > Max Vlasov <[email protected]> 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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
