Class TDiskSearch (unit DiskSrch)

Inherits from

TComponent

Constructors


Constructor Create (AOwner: TComponent);



Functions

function BeginScan : Boolean;


procedure CancelScan;


procedure DoDirFoundEvent(DirFound: String);


procedure DoScan(Dir: PChar);


procedure ScanRecurseDir(Dir: PChar);

Move ahead to next drive (lstrlen + 2 because we've added a zero byte

procedure SetStartDirectory(Directory: String);


Properties

property StartDirectory : String

Published declarations

Events

event OnDirFound : TNotifyDirectoryFoundEvent


event OnFileFound : TNotifyFilenameFoundEvent


Variables

FFileSpec : String;


FOnDirFound : TNotifyDirectoryFoundEvent;


FOnFileFound : TNotifyFilenameFoundEvent;


FStartDirectory : String;


StopAll : boolean;



Constructors


Constructor Create (AOwner: TComponent);


Functions


function BeginScan : Boolean;


procedure CancelScan;


procedure DoDirFoundEvent(DirFound: String);


procedure DoScan(Dir: PChar);


procedure ScanRecurseDir(Dir: PChar);

Move ahead to next drive (lstrlen + 2 because we've added a zero byte


procedure SetStartDirectory(Directory: String);


Properties


property StartDirectory : String

Published declarations


Events


event OnDirFound : TNotifyDirectoryFoundEvent


event OnFileFound : TNotifyFilenameFoundEvent


Variables


FFileSpec : String;


FOnDirFound : TNotifyDirectoryFoundEvent;


FOnFileFound : TNotifyFilenameFoundEvent;


FStartDirectory : String;


StopAll : boolean;