System.TObject.AfterConstruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AfterConstruction; virtual;

C++

virtual void __fastcall AfterConstruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
systobj.h
System TObject

Description

Responds after the last constructor has executed.

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

The AfterConstruction method implemented in TObject does nothing. Override this method when creating a class that performs an action after the object is created. For example, TCustomForm overrides AfterConstruction to generate an OnCreate event.

See Also