RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFileListBox.FileName Property

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

Pascal
property FileName: string;
C++
__property AnsiString FileName;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!