ImageEn, unit iexFolderTree

TIEFolderTree


Declaration

TIEFolderTree = class(TCustomTreeView);


Description

TIEFolderTree is a TTreeView descendent that displays a Windows Explorer style folder tree.
You can attach a TImageEnMView, TImageEnFolderMView or TIEFileListBox to display folder content (i.e. files and thumbnails).

It supports:
- Dragging and dropping files from Windows
- Automatic refreshing when folder contents change
- Display of the Windows Explorer popup menu

Folder nodes are of type TIEFolderNode.




Demos

Demo  Demos\Multi\Explorer\ExplorerDemo.dpr
Demo  Demos\Other\FolderTree\FolderTree.dpr
Demo  Demos\InputOutput\BatchConvert\BatchConvert.dpr


Example

// Create a simple explorer style application
IEFolderTree1.UpdateAutomatically := True;
IEFolderTree1.AttachedMView := IEFolderMView1;


Methods and Properties

General
Published Property  AutoDragFiles
Published Property  AutoDropFiles
Published Property  AttachedMView
Published Property  AttachedFileList
Published Property  CheckBoxes
Published Property  DefaultFolder
Published Property  FileOperationOptions
Public Property  Items
Published Property  PopupMenuUseSystem
Published Property  ReadOnly
Published Property  RootPath
Published Property  RootPidl
Published Property  RootUsePidl
Published Property  ShowErrors
Published Property  ShowIcons
Published Property  ShowIconOverlays
Published Property  Spacing
Published Property  UpdateAutomatically
Published Property  UpdateNode
Published Property  UpdateOnExpand
Published Property  UpdateRecursive
Published Property  ViewTypes

Selection
Public Property  Selected
Public Property  SelectedFolder
Published Property  Folder
Public Method  SelectSpecialFolder

Other
Public Method  GetPathAt
Public Method  PathToNode
Public Method  SpecialFolderToNode
Public Method  UpdateTree


Events

Event  OnAddFolder
Event  OnCheckBoxChanged
Event  OnFolderChange
Event  OnPopupMenu