Table of Contents

TProperty.Create Constructor

Creates a new instance of a TProperty object passing the basic needed parameters.

Syntax

Unit: PropertyList

constructor TProperty.Create(AOwner: TPropertyList; ARoot: TComponent; AInstance: TComponent; APropInfo: PPropInfo; APropData: TCustomPropData);

Parameters

<-> Parameter Type Description
AOwner TPropertyList The TPropertyList object which owns this TProperty object
ARoot TComponent The root object of the property. Usually the owner form of the component instance. See Root property.
AInstance TComponent The instance of the object which holds the property.
APropInfo PPropInfo The RTTI prop info of the property. If this parameter is not provided, the property will be considered as emulated.
APropData TCustomPropData The TCustomPropData object which will be used to emulate a custom virtual property.

See also