[Overview][Types][Classes][Index] Reference for unit 'TextStrings' (#lazutils)

TTextStrings.LoadFromFile

Loads the content in the string list from the specified file name.

Declaration

Source position: textstrings.pas line 95

public procedure TTextStrings.LoadFromFile(

  const FileName: string

); override;

Arguments

FileName

  

File name with the values loaded in the method.

Description

Creates a temporary TFileStream instance for the FileName argument. The file handle is opened for reading, and shared write access is denied. The inherited LoadFromStream method is called to load the values in the string list from the file stream.

See also

TTextStrings.SaveToFile

  

Saves the content in the string list to the specified file name.

TStrings.LoadFromFile


Version 4.0 Generated 2025-05-03 Home