RAD Studio VCL Reference
TInterfacedPersistent.AfterConstruction Method

Obtains a reference to the Owner's interface.

procedure AfterConstruction; override;
virtual __fastcall AfterConstruction();

AfterConstruction is called automatically after the object's last constructor executes. Do not call it explicitly in your applications. 

As implemented in TInterfacedPersistent, AfterConstruction calls the GetOwner method to determine whether this object has an Owner. If so, it obtains a reference to the Owner's interface, to which it can delegate IInterface calls. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!