ImageEn, unit iexFolderTree
TIEOpenFolderDialog
Declaration TIEOpenFolderDialog = class(TComponent); Description
Uses
ShBrowseForFolder to display a modal Windows dialog box for selecting a folder.
This is the same as using
WindowsSelectDirectory
Demos\PDF\PDFPrinter\PdfPrinter.dpr
// Prompt for a folder IEOpenFolderDialog1.AttachedImageEnIO := ImageEnView1; If IEOpenFolderDialog1.Execute then LaunchFolder( IEOpenFolderDialog1.Folder );
Properties
Caption: string; The caption of the Browse dialog. If unspecified, it defaults to a localized "Select a Folder"
Folder: string; The selected folder of the dialog
Options: TIEOpenFolderOptions ; Options of the dialog. Default: [foAllowNewFolder, foDisplayShareable, foValidateFolder, foShowEditBox]
RootFolder: string; The top-most folder. Leave blank to use the Windows default
Methods
function Execute(): Boolean; Show the dialog. Result is true if a folder is selected (fills Folder property) or false if they cancel the dialog
Loading contents...