Changeset 315 for trunk/Packages/Common/FindFile.pas
- Timestamp:
- Jun 19, 2024, 11:15:44 PM (5 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/FindFile.pas
r314 r315 19 19 } 20 20 21 unit UFindFile;21 unit FindFile; 22 22 23 23 interface … … 35 35 private 36 36 s : TStringList; 37 38 37 fSubFolder : boolean; 39 38 fAttr: TFileAttrib; 40 39 fPath : string; 41 40 fFileMask : string; 42 43 41 procedure SetPath(Value: string); 44 42 procedure FileSearch(const inPath : string); … … 46 44 constructor Create(AOwner: TComponent); override; 47 45 destructor Destroy; override; 48 49 46 function SearchForFiles: TStringList; 50 47 published … … 65 62 procedure Register; 66 63 64 67 65 implementation 68 66 … … 77 75 constructor TFindFile.Create(AOwner: TComponent); 78 76 begin 79 inherited Create(AOwner);77 inherited; 80 78 Path := IncludeTrailingBackslash(UTF8Encode(GetCurrentDir)); 81 79 FileMask := FilterAll; … … 87 85 begin 88 86 s.Free; 89 inherited Destroy;87 inherited; 90 88 end; 91 89 … … 145 143 SysUtils.FindClose(Rec); 146 144 end; 147 end; 145 end; 148 146 149 147 end. 150
Note:
See TracChangeset
for help on using the changeset viewer.