[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TFileDialog.HistoryList

HistoryList - stringlist containing the names of files recently accessed.

## Declaration

Source position: dialogs.pp line 167

`public property TFileDialog.HistoryList : TStrings read FHistoryList write SetHistoryList;`

## Description

HistoryList is a TStrings property used to store the previous values selected using the file dialog. A TStringList instance is created and stored to the property in the Create constructor.

HistoryList is used in descendent classes, like TOpenDialog and TSelectDirectoryDialog, to store values that have previously been assigned to the FileName property.

Use FileName or Files to access the directory or one or more file names selected using the derived classes.

## See also

TFileDialog.Create |  | Constructor for the class instance.
TFileDialog.FileName |  | Contains the UTF-8-encoded name for a file chosen using the dialog.
TFileDialog.Files |  | Stores the names of files (or directories) selected using the dialog.
TOpenDialog |  | Implements a File / Open dialog used to select one or more files on the local file system.
TSelectDirectoryDialog |  | Implements a select directory dialog.
TStrings
TStringList