[fpc-pascal] Directory Tree

Tomas Hajny XHajT03 at hajny.biz
Tue Apr 6 15:41:11 CEST 2021


On 2021-04-06 14:43, James Richters wrote:
> Is there any documentation or a sample program for TDirListBox?  I
> tried doing a search but only found a page that showed it's functions
> and procedures, but no real explanation on what they are supposed to
> do.

The functionality is used within the text mode IDE (sources are in 
package IDE). In particular TChDirDialog (still part of FV, in 
particular) is invoked using File / ChDir and it contains TDirListBox as 
one of its subcomponents. The respective implementation is in the 
include file fpmfile.inc (search for PChDirDialog). It's rather simple 
(but it might be enhanced in a possible descendent, of course).

Tomas


More information about the fpc-pascal mailing list