[fpc-devel] TCustomApplication's parent class?

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Apr 26 10:17:20 CEST 2008


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)

 - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-devel mailing list