[Overview][Resource strings][Constants][Types][Classes][Index] Reference for unit 'resource' (#fcl-res)

TResourceDesc.Create

Creates a new TResourceDesc object

Declaration

Source position: resource.pp line 115

public constructor TResourceDesc.Create; overload;

constructor TResourceDesc.Create(

  const aID: TResID

); overload;

constructor TResourceDesc.Create(

  const aName: TResName

); overload;

Arguments

aID

  

The ID to use as the resource description ID

Arguments

aName

  

The name to use as the resource description name

Description

Creates a new TResourceDesc object.

Without arguments, resource description is of type dtName and its name is empty.

If an argument is specified, resource description and name/id are set accordingly to the value passed as parameter.


Documentation generated on: Sep 28 2017