TScanDir

V1.00 (11-29-98)


TScanDir is a component for scanning directories and subdirectories for files matching a certain file mask.

Usage

TScanDir is a not visible component. Drop a copy of it onto a form or create a TScanDir object at run time:

Now the properties and methods are accessable.


Reference

SCANDIRFILE

SCANDIRFOLDER

int FolderCount;

int FileCount;

AnsiString Path;

bool RecursiveScan;

AnsiString Mask;

void __fastcall Execute(void);

void __fastcall (__closure *OnFileFound)(System::TObject* Sender, SCANDIRFILE &scandirfile);

void __fastcall (__closure *OnFolderFound)(System::TObject* Sender, SCANDIRFOLDER &folder);

void __fastcall (__closure *OnFolderProcessed)(System::TObject* Sender, SCANDIRFOLDER &folder);


Example