RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInterfacedPersistent.AfterConstruction Method

Obtains a reference to the Owner's interface.

Pascal
procedure AfterConstruction; override;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!