Sign in Join
FPDoc Onlineexperiment

TTextStrings.AddStrings procedure

Member of TTextStringspublicIn unit TextStrings

Adds the lines of text in TheStrings to the current class instance.

Declaration

pascal
procedure AddStrings(TheStrings: TStrings); override

Arguments

TheStrings

String list with the values added in the method.

Description

AddStrings is an overridden method in TTextStrings used to add the lines of text in TheStrings to the current class instance. No actions are performed in the method when TheStrings does not contain any lines of text.

Builds (or re-builds) the internal array of line ranges for the class instance. Values from the Objects property in TheStrings are also copied in the method.

See also

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