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

TStringTableResource.Strings

Indexed array of strings in the string table

Declaration

Source position: stringtableresource.pp line 70

public property TStringTableResource.Strings[id: Word] : string
  read GetString
  write SetString;
  default;

Description

This property can be used to access all strings in the object.

Remark: Strings are accessed by their ID: valid elements range from FirstID to LastID. If the index specified isn't in this range, an EStringTableIndexOutOfBoundsException exception is raised.
Remark: If you need to access RawData after you modified strings, be sure to call UpdateRawData first. This isn't needed however when resource is written to a stream, since TResources takes care of it.

See also

TStringTableResource

  

String table resource type

TStringTableResource.FirstID

  

The ID of first the string contained in the string table

TStringTableResource.LastID

  

The ID of the last string contained in the string table


Documentation generated on: Sep 28 2017