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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal