[fpc-pascal] WriteComponent not outputting a hierarchy of components?
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Jun 4 09:10:28 CEST 2010
Op 2010-06-04 08:41, Michael Van Canneyt het geskryf:
>
> It is up to you. Both approaches are possible. Like I said, in the LCL it is
> TWinControl that does the loop over it's child controls. But you could
LCL implements GetChildren in TWinControl, TFrame and TCustomForm. But
looking more closely at the code, TWinControl loops over Controls property
and TCustomForm loops over Components property.
I now understand why Martin implemented MSEgui from the ground up and not
basing any code on Borland's ideas. You never need to fight strange
implementations, other than your own. :)
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list