Sven Barth schrieb:
You are aware that Graeme talks about fpGUI and not the LCL?
Yes, at least am I ;-)
In fpGUI there is no "new AutoSize" and also there is no "FormCreate", because in fpGUI the convention is to create controls in "AfterCreate" which is a virtual method and not an event.
So fpGUI has no Delphi compatible FormCreate handlers?
Also fpGUI does not rely on component streaming and thus the visibility of component fields can be as low as private without problems.
This is what FPC disallows. When the code in AfterCreate sets a property of a child control, then that property must be at least public.
DoDi -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus