Vcl.FileCtrl.TFileListBox.FileName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FileName: string read GetFilePath write ApplyFilePath;

C++

__property System::UnicodeString FileName = {read=GetFilePath, write=ApplyFilePath};

Properties

Type Visibility Source Unit Parent
property public
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl TFileListBox

Description

Indicates the name of the selected file in the list box, including the path name.

Set FileName to initialize the file list box to a particular file. Read FileName to obtain the name of the file the user selected.

If the FileEdit property is set, the linked edit control displays the value of FileName whenever the FileName property changes.

See Also