[Lazarus] fpGUI
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Jan 17 03:50:09 CET 2011
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
More information about the Lazarus
mailing list