The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....

Using TDirTree

The component TDirTree comes together with this help file DIRTREE.HLP, a keyword file (DIRTREE.KWF) for the integration of the help file into the Delphi help system, a Delphi component resource DIRTREE.DCR, and a sample program DIRSEL.DPR.


The component TDirTree provides an easy-to-use directory tree. The user has to set the drive to be displayed (either during design time or during run time). An OnChange event is created whenever the user clicks on one of the directory names in the outline. Double clicking on a directory entry either expands or collapses the corresponding entry. The currently selected directory can be determined by reading the run-time property Directory.

Last Update: 2013-May-14