Changeset 58 for trunk/Forms/UFormContact.pas
- Timestamp:
- Dec 8, 2021, 10:00:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.pas
r57 r58 23 23 ButtonPrevious: TButton; 24 24 EditAim: TEdit; 25 EditMatrix: TEdit; 26 EditYouTube: TEdit; 27 EditGender: TEdit; 28 EditLinkedIn: TEdit; 29 EditFacebook: TEdit; 30 EditInstagram: TEdit; 31 EditMySpace: TEdit; 32 EditTwitter: TEdit; 33 EditReddit: TEdit; 34 EditMastodon: TEdit; 25 35 EditWindowsLive: TEdit; 36 EditSnapchat: TEdit; 26 37 EditYahoo: TEdit; 27 38 EditGoogleTalk: TEdit; … … 76 87 EditWorkPhone: TEdit; 77 88 EditQq: TEdit; 89 EditPeerTube: TEdit; 78 90 GroupBox1: TGroupBox; 79 91 GroupBox2: TGroupBox; … … 122 134 Label47: TLabel; 123 135 Label48: TLabel; 136 Label49: TLabel; 124 137 Label5: TLabel; 138 Label50: TLabel; 139 Label51: TLabel; 140 Label52: TLabel; 141 Label53: TLabel; 142 Label54: TLabel; 143 Label55: TLabel; 125 144 Label6: TLabel; 126 145 Label7: TLabel; … … 129 148 LabelOrganization: TLabel; 130 149 LabelOrganization1: TLabel; 150 LabelOrganization10: TLabel; 151 LabelOrganization11: TLabel; 131 152 LabelOrganization2: TLabel; 132 153 LabelOrganization3: TLabel; … … 134 155 LabelOrganization5: TLabel; 135 156 LabelOrganization6: TLabel; 157 LabelOrganization7: TLabel; 158 LabelOrganization8: TLabel; 159 LabelOrganization9: TLabel; 136 160 MemoNotes: TMemo; 137 161 MenuItem1: TMenuItem; … … 142 166 PopupMenuPhoto: TPopupMenu; 143 167 SavePictureDialog1: TSavePictureDialog; 168 TabSheetSocial: TTabSheet; 144 169 TabSheetChat: TTabSheet; 145 170 TabSheetOthers: TTabSheet; … … 166 191 procedure TabSheetOthersHide(Sender: TObject); 167 192 procedure TabSheetOthersShow(Sender: TObject); 193 procedure TabSheetSocialHide(Sender: TObject); 194 procedure TabSheetSocialShow(Sender: TObject); 168 195 procedure TabSheetWorkHide(Sender: TObject); 169 196 procedure TabSheetWorkShow(Sender: TObject); … … 225 252 procedure TFormContact.TabSheetChatHide(Sender: TObject); 226 253 begin 254 Contact.Fields[cfMatrix] := EditMatrix.Text; 227 255 Contact.Fields[cfJabber] := EditJabber.Text; 228 256 Contact.Fields[cfIcq] := EditIcq.Text; … … 234 262 Contact.Fields[cfYahoo] := EditYahoo.Text; 235 263 Contact.Fields[cfAim] := EditAim.Text; 236 Contact.Fields[cfIrc] := EditIrc.Text 264 Contact.Fields[cfIrc] := EditIrc.Text; 265 266 ReloadAllPropertiesTab; 237 267 end; 238 268 239 269 procedure TFormContact.TabSheetChatShow(Sender: TObject); 240 270 begin 271 EditMatrix.Text := Contact.Fields[cfMatrix]; 241 272 EditJabber.Text := Contact.Fields[cfJabber]; 242 273 EditIcq.Text := Contact.Fields[cfIcq]; … … 274 305 Contact.Fields[cfAnniversary] := EditAniversary.Text; 275 306 Contact.Fields[cfUrl] := EditWeb.Text; 307 Contact.Fields[cfGender] := EditGender.Text; 276 308 277 309 // Photo … … 358 390 EditAniversary.Text := Contact.Fields[cfAnniversary]; 359 391 EditWeb.Text := Contact.Fields[cfUrl]; 392 EditGender.Text := Contact.Fields[cfGender]; 360 393 361 394 // Photo … … 466 499 end; 467 500 501 procedure TFormContact.TabSheetSocialHide(Sender: TObject); 502 begin 503 Contact.Fields[cfFacebook] := EditFacebook.Text; 504 Contact.Fields[cfTwitter] := EditTwitter.Text; 505 Contact.Fields[cfInstagram] := EditInstagram.Text; 506 Contact.Fields[cfYouTube] := EditYouTube.Text; 507 Contact.Fields[cfPeerTube] := EditPeerTube.Text; 508 Contact.Fields[cfMastodon] := EditMastodon.Text; 509 Contact.Fields[cfLinkedIn] := EditLinkedIn.Text; 510 Contact.Fields[cfSnapchat] := EditSnapchat.Text; 511 Contact.Fields[cfReddit] := EditReddit.Text; 512 Contact.Fields[cfMySpace] := EditMySpace.Text; 513 514 ReloadAllPropertiesTab; 515 end; 516 517 procedure TFormContact.TabSheetSocialShow(Sender: TObject); 518 begin 519 EditFacebook.Text := Contact.Fields[cfFacebook]; 520 EditTwitter.Text := Contact.Fields[cfTwitter]; 521 EditInstagram.Text := Contact.Fields[cfInstagram]; 522 EditYouTube.Text := Contact.Fields[cfYouTube]; 523 EditPeerTube.Text := Contact.Fields[cfPeerTube]; 524 EditMastodon.Text := Contact.Fields[cfMastodon]; 525 EditLinkedIn.Text := Contact.Fields[cfLinkedIn]; 526 EditSnapchat.Text := Contact.Fields[cfSnapchat]; 527 EditReddit.Text := Contact.Fields[cfReddit]; 528 EditMySpace.Text := Contact.Fields[cfMySpace]; 529 end; 530 468 531 procedure TFormContact.TabSheetWorkHide(Sender: TObject); 469 532 begin
Note:
See TracChangeset
for help on using the changeset viewer.