ImageEn, unit ieopensavedlg

TOpenImageEnDialog.Files

TOpenImageEnDialog.Files


Declaration


property Files: TStrings;


Description


A string list that contains all selected filenames (with a full directory path).

Notes:
- Set the ofAllowMultiSelect flag in Options to allow multiple selection
- If you require widestring support use FilesW
- The maximum number of files that can be selected is specified by OpenDialogMaxMultiSelFiles


Example


// Prompt to insert images into a TImageEnMView
OpenImageEnDialog1.Options := OpenImageEnDialog1.Options + [ofAllowMultiSelect];
if OpenImageEnDialog1.Execute then
  ImageEnMView1.FillFromList( OpenImageEnDialog1.Files );


See Also


- Filename
- FilesW