Changeset 106 for trunk/Forms
- Timestamp:
- Feb 10, 2022, 11:53:26 AM (3 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormGenerate.lfm
r103 r106 32 32 end 33 33 object ButtonGenerate: TButton 34 Left = 2034 Left = 704 35 35 Height = 39 36 Top = 18036 Top = 528 37 37 Width = 118 38 Anchors = [akRight, akBottom] 38 39 Caption = 'Generate' 39 40 OnClick = ButtonGenerateClick -
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.