[fpc-devel] TCustomApplication's parent class?
Graeme Geldenhuys
graemeg.lists at gmail.com
Sat Apr 26 10:17:20 CEST 2008
Hi,
Why does TCustomApplication derive from TComponent instead of TObject?
What is the reason behind this? Is there any benefits unknown to me?
Surely we never need to persist the Appplication class. And it it's
because we wanted RTTI support, again we could have enabled that for a
TObject descendant with {$M+} compiler directives.
TCustomApplication = Class(TComponent)
....
end;
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list