ImageEn, unit ieopensavedlg |
|
TOpenImageEnDialog.Filename
Declaration
property Filename : String;
Description
Returns the name and complete directory path of the most recently selected file. The value of Filename is the same as the first item in the
Files property.
To specify a default filename appear for the dialog's edit box, assign it to this property before calling Execute.
If you require widestring support for older versions of Delphi, use
FilenameW.
// Select an image to load in an ImageEnView
If OpenImageEnDialog1.Execute then
ImageEnView1.IO.LoadFromFile( OpenImageEnDialog1.Filename );
See Also
◼FilenameW◼Files