Sign in Join
FPDoc Onlineexperiment

TStringTableResource.Strings property

Member of TStringTableResourcepublicIn unit stringtableresource

Indexed array of strings in the string table

Declaration

pascal
property Strings[id: Word]: string read GetString write SetString; default;

Description

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

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.
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

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