Changeset 134 for trunk/UCore.pas
- Timestamp:
- Apr 10, 2022, 1:54:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r133 r134 142 142 LoadedFiles: Integer; 143 143 begin 144 TempFile := DefaultDataFileClass.Create ;144 TempFile := DefaultDataFileClass.Create(nil); 145 145 try 146 146 OpenDialog1.Filter := TempFile.GetFileFilter; … … 158 158 for I := 0 to OpenDialog1.Files.Count - 1 do begin 159 159 if FileExists(OpenDialog1.Files[I]) then begin 160 TempFile := TVCardFile.Create ;160 TempFile := TVCardFile.Create(nil); 161 161 try 162 162 TempFile.LoadFromFile(OpenDialog1.Files[I]); … … 179 179 TempFileName: string; 180 180 begin 181 TempFile := DefaultDataFileClass.Create ;181 TempFile := DefaultDataFileClass.Create(nil); 182 182 try 183 183 OpenDialog1.Filter := TempFile.GetFileFilter; … … 364 364 TempFile: TDataFile; 365 365 begin 366 TempFile := DefaultDataFileClass.Create ;366 TempFile := DefaultDataFileClass.Create(nil); 367 367 try 368 368 OpenDialog1.Filter := TempFile.GetFileFilter; … … 510 510 FileClose; 511 511 if FileClosed then begin 512 DataFile := DefaultDataFileClass.Create ;512 DataFile := DefaultDataFileClass.Create(nil); 513 513 DataFile.OnModify := FileModified; 514 514 TVCardFile(DataFile).VCard.OnError := DoError;
Note:
See TracChangeset
for help on using the changeset viewer.