Changeset 134 for trunk/UVCardFile.pas
- Timestamp:
- Apr 10, 2022, 1:54:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UVCardFile.pas
r129 r134 19 19 procedure SaveToFile(FileName: string); override; 20 20 procedure LoadFromFile(FileName: string); override; 21 procedure Assign(Source: T VCardFile);22 constructor Create ; override;21 procedure Assign(Source: TPersistent); override; 22 constructor Create(AOwner: TComponent); override; 23 23 destructor Destroy; override; 24 24 end; … … 64 64 end; 65 65 66 procedure TVCardFile.Assign(Source: T VCardFile);66 procedure TVCardFile.Assign(Source: TPersistent); 67 67 begin 68 inherited Assign(Source); 69 VCard.Assign(Source.VCard); 68 inherited; 69 if Source is TVCardFile then 70 VCard.Assign(TVCardFile(Source).VCard); 70 71 end; 71 72 72 constructor TVCardFile.Create ;73 constructor TVCardFile.Create(AOwner: TComponent); 73 74 begin 74 75 inherited;
Note:
See TracChangeset
for help on using the changeset viewer.