Sign in Join
FPDoc Onlineexperiment

TParam.Create constructor

Member of TParampublicIn unit DB

Create a new parameter value.

Declaration

pascal
constructor Create(ACollection: TCollection); override; overload
constructor Create(AParams: TParams; AParamType: TParamType)
 ; reintroduce; overload

Arguments

ACollection

Collection this parameter is part of.

AParamsTParams instance this parameter is part of.
AParamType

Parameter type for the new parameter instance.

Description

Create first calls the inherited create, and then initializes the parameter properties. The first form creates a default parameter, the second form is a convenience function and initializes a parameter of a certain kind ( AParamType), in which case the owning TParams collection must be specified in AParams

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.