TCnOpenFileDialog.FileName Property
Gets or sets a string containing the file name selected in the file dialog box.
published property FileName: String read GetFileName write SetFileName;
Property Value
Type: String
The file name selected in the file dialog box. The default value is an empty string ("").
The file name includes both the file path and the extension. If no
files are selected, this method returns an empty string ("").
When used from the TCnSaveFileDialog class, this property represents
the file being saved; when used from the TCnOpenFileDialog
class, it represents the file being opened.
This property
can only be the name of one selected file. If you want to return an
array containing the names of all selected files in a
multiple-selection dialog box, use FileNames.