[lazarus] designer.inc file error

Marc Weustink Marc.Weustink at cuperus.nl
Thu Mar 23 04:35:01 EST 2000

+ From: Michael A. Hess [mailto:mhess at miraclec.com]
+ Marc Weustink wrote:
+ >
+ > This is code which compiles under D4 ! (if you want an example I'll
+ > give one)
+ I give up. I must admit you are correct. Not believing it myself I wrote
+ a test program in Delphi 4 and by god you are correct. To me that
+ doesn't comply with the definition of private, protected and published
+ but it does work and the current code in TDesigner should be OK if it is

Pffeeew  ;-)
I have to admit that the first time I saw it I was shocked. This behaviour
is IMHO against the object model; private members should be realy private,
and not visible in the unit. The same for protected.

+ Sorry about giving you a hard time Marc. I truly believed what the
+ Delphi documentation said and I have always coded that way
+ and had never even attempted to do what TDesigner did because I
+ just thought you couldn't.

Same here, I "discovered" this feature while I started working on the
internals of Lazarus, on how and when a component is created.


More information about the Lazarus mailing list