Changeset 106 for trunk/Forms/UFormGenerate.pas
- Timestamp:
- Feb 10, 2022, 11:53:26 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormGenerate.pas
r103 r106 46 46 for I := 1 to SpinEditCount.Value do begin 47 47 Contact := Contacts.AddNew; 48 Contact.Fields[cfVersion] := Core.DefaultVcardVersion; 49 Contact.Fields[cfFirstName] := 'First ' + IntToStr(Random(10000)); 50 Contact.Fields[cfLastName] := 'Last ' + IntToStr(Random(10000)); 51 Contact.Fields[cfFullName] := 'FullName ' + IntToStr(Random(100)); 52 Contact.Fields[cfTelCell] := IntToStr(Random(1000000000)); 53 Contact.Fields[cfTelHome] := IntToStr(Random(1000000000)); 48 with Contact do begin 49 Fields[cfVersion] := Core.DefaultVcardVersion; 50 Fields[cfFirstName] := 'First ' + IntToStr(Random(10000)); 51 Fields[cfLastName] := 'Last ' + IntToStr(Random(10000)); 52 Fields[cfFullName] := 'FullName ' + IntToStr(Random(100)); 53 Fields[cfTelCell] := IntToStr(Random(1000000000)); 54 Fields[cfTelHome] := IntToStr(Random(1000000000)); 55 Fields[cfTelWork] := IntToStr(Random(1000000000)); 56 Fields[cfNote] := 'Some contact notes'; 57 Fields[cfEmail] := 'user@email.com'; 58 Fields[cfEmailHome] := 'home@email.com'; 59 Fields[cfEmailWork] := 'home@email.com'; 60 Fields[cfUrl] := 'https://url.com'; 61 Fields[cfUrlWork] := 'https://work.com'; 62 Fields[cfUrlHome] := 'https://home.com'; 63 end; 54 64 end; 55 65 Close;
Note:
See TracChangeset
for help on using the changeset viewer.