Internet Direct (Indy)
Home
PreviousUpNext
TIdInitializerComponent.Create Constructor (TIdNativeComponent)

Constructor for the object instance.

Pascal
constructor Create(
    AOwner: TIdNativeComponent
); override; overload;

AOwner - Owner of the object instance. 

Create is an overloaded overridden Constructor for the object instance. 

Create is overloaded to provide a VCL-compatible constructor that specifies the owner for free notifications in the AOwner parameter. AOwner can contains the value Nil when no owner is specified. 

Create calls the inherited Create method using AOwner as an argument. 

Create calls the protected InitComponent method to perform initialization tasks for the new object instance.

Descendant classes can override the InitComponent method to perform component initialization operations that were traditionally reserved for overridden (or overloaded) constructors.

TIdInitializerComponent.Create

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.