Changeset 17 for trunk/UContact.pas
- Timestamp:
- Feb 28, 2018, 12:56:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UContact.pas
r16 r17 88 88 TContacts = class(TObjectList) 89 89 ContactsFile: TContactsFile; 90 function AddNew: TContact; 90 91 function Search(FullName: string): TContact; 91 92 function ToString: ansistring; override; … … 121 122 122 123 { TContacts } 124 125 function TContacts.AddNew: TContact; 126 begin 127 Result := TContact.Create; 128 Result.Parent := ContactsFile; 129 Add(Result); 130 end; 123 131 124 132 function TContacts.Search(FullName: string): TContact;
Note:
See TracChangeset
for help on using the changeset viewer.