Changeset 9 for trunk/UContact.pas
- Timestamp:
- Feb 1, 2018, 1:41:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UContact.pas
r8 r9 15 15 TDataType = (dtString, dtInteger, dtDate, dtDateTime, dtImage); 16 16 17 TContactFieldIndex = (cfFirstName, cfMiddleName, cfLastName); 17 TContactFieldIndex = (cfFirstName, cfMiddleName, cfLastName, cfTelPrefCell, 18 cfTelCell, cfTelHome, cfTelHome2, cfTelWork, cfTitle, cfOrganization, 19 cfAddress, cfNote); 18 20 19 21 TContactField = class … … 60 62 Note: string; 61 63 Role: string; 64 Title: string; 62 65 Categories: string; 63 66 Organization: string; … … 124 127 cfMiddleName: Result := MiddleName; 125 128 cfLastName: Result := LastName; 129 cfTelPrefCell: Result := TelPrefCell; 130 cfTelCell: Result := TelCell; 131 cfTelHome: Result := TelHome; 132 cfTelHome2: Result := TelHome2; 133 cfTelWork: Result := TelWork; 134 cfTitle: Result := Title; 135 cfOrganization: Result := Organization; 136 cfAddress: Result := AdrHome; 137 cfNote: Result := Note; 126 138 end; 127 139 end; … … 133 145 cfMiddleName: MiddleName := AValue; 134 146 cfLastName: LastName := AValue; 147 cfTelPrefCell: TelPrefCell := AValue; 148 cfTelCell: TelCell := AValue; 149 cfTelHome: TelHome := AValue; 150 cfTelHome2: TelHome2 := AValue; 151 cfTelWork: TelWork := AValue; 152 cfTitle: Title := AValue; 153 cfOrganization: Organization := AValue; 154 cfAddress: AdrHome := AValue; 155 cfNote: Note := AValue; 135 156 end; 136 157 end; … … 155 176 AddNew('Middle Name', cfMiddleName, dtString); 156 177 AddNew('Last Name', cfLastName, dtString); 178 AddNew('Preferred cell phone', cfTelPrefCell, dtString); 179 AddNew('Cell phone', cfTelCell, dtString); 180 AddNew('Home phone', cfTelHome, dtString); 181 AddNew('Home phone 2', cfTelHome2, dtString); 182 AddNew('Home work', cfTelWork, dtString); 183 AddNew('Title', cfTitle, dtString); 184 AddNew('Organization', cfOrganization, dtString); 185 AddNew('Address', cfAddress, dtString); 186 AddNew('Note', cfNote, dtString); 157 187 end; 158 188 end;
Note:
See TracChangeset
for help on using the changeset viewer.