Sign in Join
FPDoc Onlineexperiment

TStringTableResource.Create constructor

Member of TStringTableResourcepublicIn unit stringtableresource

Creates a new string table resource

Declaration

pascal
constructor Create; override
constructor Create(aType: TResourceDesc; aName: TResourceDesc)
 ; override

Arguments

aType

Ignored. Can be nil.

aName

The name of the resource. Must be of type dtID and in the range 1-4096

Description

Please note that aType parameter is not used, since this class always uses RT_STRING as type.

aName must be a TResourceDesc of type dtID and its value must be in the range 1-4096, otherwise an EStringTableNameNotAllowedException exception is raised.

Errors

If aName is not of type dtID and/or its value isn't in the range 1-4096, an EStringTableNameNotAllowedException exception is raised.

See also

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