TFileDialog.FileName property
Contains the UTF-8-encoded name for a file chosen using the dialog.
Declaration
property FileName: string read FFileName write SetFileName;Description
FileName is a
String property with the name for a
file chosen using the dialog. As a String type, it can contain UTF-8-encoded
values. If you need the file name using the system encoding, you can use
UTF8ToSys from the
LazUTF8 unit.
The value in FileName may be used in a different context in descendent
classes. For example, it represents a directory name in the
TSelectDirectoryDialog descendant.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
