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).

Note:
Set the ofAllowMultiSelect flag in Options to allow multiple selection
If you require widestring support for older versions of Delphi, use FilesW
The maximum number of files that can be selected is specified by OpenDialogMaxMultiSelFiles


Example

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


See Also

Filename
FilesW