Does the Delphi call get inherited with overridden procedures if there is no explicit call in the code, that is (inherited;), I have the following structure (from super to subclass)
TForm β TBaseForm β TAnyOtherForm
All forms in the project will be obtained from TBaseForm, as this will have all the standard installation and destructive parts that are used for each form (security, validation ect).
TBaseForm has onCreate and onDestroy procedures with code to do this, but if someone (i.e. I) forgot to add the inherited in onCreate to TAnyOtherForm, will Delphi call it for me? I found links on the Internet that say it is not required, but it doesnβt say anywhere if it is called, if it is not specified in the code.
Also, if he calls the inherited one for me, when will he call him?
inheritance oop delphi
Re0sless
source share