ImageEn, unit iexFolderTree

TIEFolderTree.DefaultFolder

TIEFolderTree.DefaultFolder


Declaration

property DefaultFolder: TIEDefaultFolder;


Description

The initial value for Folder.

Note: The following have no effect for TIEFolderTree: iedfDrives, iedfDevices


Example 1

procedure TForm1.FormCreate(Sender: TObject);
begin
  // Default to the "My Pictures" folder
  IEFolderTree1.DefaultFolder := iedfMyPictures;
end;


Example 2

procedure TForm1.FormCreate(Sender: TObject);
begin
  // Default to a custom folder
  IEFolderTree1.DefaultFolder := iedfSpecified;   // Note: This line is optional at run-time
  IEFolderTree1.Folder := 'D:\My Custom Folder';
end;