Changeset 33 for trunk/Forms
- Timestamp:
- Nov 25, 2021, 12:27:52 PM (3 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.lfm
r31 r33 17 17 Top = 10 18 18 Width = 893 19 ActivePage = TabSheet All19 ActivePage = TabSheetGeneral 20 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 21 ParentFont = False 22 TabIndex = 222 TabIndex = 0 23 23 TabOrder = 0 24 24 object TabSheetGeneral: TTabSheet … … 30 30 Left = 16 31 31 Height = 24 32 Top = 2433 Width = 5634 Caption = ' Name:'35 ParentColor = False 36 ParentFont = False 37 end 38 object Edit Name: TEdit32 Top = 72 33 Width = 94 34 Caption = 'First name:' 35 ParentColor = False 36 ParentFont = False 37 end 38 object EditFirstName: TEdit 39 39 Left = 144 40 40 Height = 42 41 Top = 1641 Top = 64 42 42 Width = 254 43 43 ParentFont = False … … 47 47 Left = 16 48 48 Height = 24 49 Top = 7249 Top = 170 50 50 Width = 95 51 51 Caption = 'Cell phone:' … … 56 56 Left = 144 57 57 Height = 42 58 Top = 6258 Top = 160 59 59 Width = 254 60 60 ParentFont = False … … 64 64 Left = 144 65 65 Height = 42 66 Top = 10866 Top = 206 67 67 Width = 254 68 68 ParentFont = False … … 72 72 Left = 16 73 73 Height = 24 74 Top = 11274 Top = 210 75 75 Width = 59 76 76 Caption = 'Phone:' … … 81 81 Left = 575 82 82 Height = 42 83 Top = 6283 Top = 160 84 84 Width = 254 85 85 ParentFont = False … … 89 89 Left = 432 90 90 Height = 24 91 Top = 7291 Top = 170 92 92 Width = 58 93 93 Caption = 'E-mail:' … … 95 95 ParentFont = False 96 96 end 97 object Edit Surname: TEdit97 object EditLastName: TEdit 98 98 Left = 575 99 99 Height = 42 100 Top = 16100 Top = 64 101 101 Width = 254 102 102 ParentFont = False … … 106 106 Left = 432 107 107 Height = 24 108 Top = 24109 Width = 8 1110 Caption = ' Surname:'108 Top = 72 109 Width = 87 110 Caption = 'Last name' 111 111 ParentColor = False 112 112 ParentFont = False … … 114 114 object MemoNotes: TMemo 115 115 Left = 240 116 Height = 282117 Top = 230116 Height = 176 117 Top = 336 118 118 Width = 623 119 119 Anchors = [akTop, akLeft, akRight, akBottom] … … 126 126 Left = 240 127 127 Height = 24 128 Top = 2 02128 Top = 264 129 129 Width = 55 130 130 Caption = 'Notes:' … … 135 135 Left = 575 136 136 Height = 42 137 Top = 108137 Top = 206 138 138 Width = 254 139 139 ParentFont = False … … 143 143 Left = 432 144 144 Height = 24 145 Top = 112145 Top = 210 146 146 Width = 124 147 147 Caption = 'E-mail (Home):' … … 152 152 Left = 575 153 153 Height = 42 154 Top = 152154 Top = 250 155 155 Width = 254 156 156 ParentFont = False … … 160 160 Left = 432 161 161 Height = 24 162 Top = 160162 Top = 258 163 163 Width = 117 164 164 Caption = 'E-mail (Work):' … … 169 169 Left = 144 170 170 Height = 42 171 Top = 152171 Top = 250 172 172 Width = 254 173 173 ParentFont = False … … 177 177 Left = 16 178 178 Height = 24 179 Top = 160179 Top = 258 180 180 Width = 76 181 181 Caption = 'Birthday:' … … 184 184 end 185 185 object ImagePhoto: TImage 186 Left = 16186 Left = 20 187 187 Height = 208 188 Top = 232188 Top = 344 189 189 Width = 207 190 190 Proportional = True … … 192 192 end 193 193 object Label23: TLabel 194 Left = 16195 Height = 24 196 Top = 200194 Left = 20 195 Height = 24 196 Top = 304 197 197 Width = 55 198 198 Caption = 'Photo:' 199 199 ParentColor = False 200 200 ParentFont = False 201 end 202 object Label24: TLabel 203 Left = 16 204 Height = 24 205 Top = 24 206 Width = 88 207 Caption = 'Full name:' 208 ParentColor = False 209 ParentFont = False 210 end 211 object EditFullName: TEdit 212 Left = 144 213 Height = 42 214 Top = 16 215 Width = 254 216 ParentFont = False 217 TabOrder = 9 218 end 219 object Label25: TLabel 220 Left = 432 221 Height = 24 222 Top = 24 223 Width = 116 224 Caption = 'Middle name:' 225 ParentColor = False 226 ParentFont = False 227 end 228 object EditMiddleName: TEdit 229 Left = 575 230 Height = 42 231 Top = 16 232 Width = 254 233 ParentFont = False 234 TabOrder = 10 235 end 236 object Label26: TLabel 237 Left = 16 238 Height = 24 239 Top = 120 240 Width = 101 241 Caption = 'Title before:' 242 ParentColor = False 243 ParentFont = False 244 end 245 object EditTitleBefore: TEdit 246 Left = 144 247 Height = 42 248 Top = 112 249 Width = 254 250 ParentFont = False 251 TabOrder = 11 252 end 253 object Label27: TLabel 254 Left = 432 255 Height = 24 256 Top = 120 257 Width = 85 258 Caption = 'Title after:' 259 ParentColor = False 260 ParentFont = False 261 end 262 object EditTitleAfter: TEdit 263 Left = 575 264 Height = 42 265 Top = 112 266 Width = 254 267 ParentFont = False 268 TabOrder = 12 201 269 end 202 270 end … … 443 511 ParentFont = False 444 512 TabOrder = 13 513 end 514 object LabelOrganization1: TLabel 515 Left = 450 516 Height = 24 517 Top = 360 518 Width = 106 519 Caption = 'Department:' 520 ParentColor = False 521 ParentFont = False 522 end 523 object EditDepartment: TEdit 524 Left = 584 525 Height = 42 526 Top = 348 527 Width = 254 528 ParentFont = False 529 TabOrder = 14 445 530 end 446 531 end -
trunk/Forms/UFormContact.lrj
r31 r33 2 2 {"hash":174434276,"name":"tformcontact.caption","sourcebytes":[67,111,110,116,97,99,116],"value":"Contact"}, 3 3 {"hash":231000124,"name":"tformcontact.tabsheetgeneral.caption","sourcebytes":[71,101,110,101,114,97,108],"value":"General"}, 4 {"hash": 5538698,"name":"tformcontact.label1.caption","sourcebytes":[78,97,109,101,58],"value":"Name:"},4 {"hash":104434218,"name":"tformcontact.label1.caption","sourcebytes":[70,105,114,115,116,32,110,97,109,101,58],"value":"First name:"}, 5 5 {"hash":120104554,"name":"tformcontact.label2.caption","sourcebytes":[67,101,108,108,32,112,104,111,110,101,58],"value":"Cell phone:"}, 6 6 {"hash":91186314,"name":"tformcontact.label3.caption","sourcebytes":[80,104,111,110,101,58],"value":"Phone:"}, 7 7 {"hash":138641338,"name":"tformcontact.label4.caption","sourcebytes":[69,45,109,97,105,108,58],"value":"E-mail:"}, 8 {"hash": 211060266,"name":"tformcontact.label5.caption","sourcebytes":[83,117,114,110,97,109,101,58],"value":"Surname:"},8 {"hash":174528181,"name":"tformcontact.label5.caption","sourcebytes":[76,97,115,116,32,110,97,109,101],"value":"Last name"}, 9 9 {"hash":89566314,"name":"tformcontact.label6.caption","sourcebytes":[78,111,116,101,115,58],"value":"Notes:"}, 10 10 {"hash":149146986,"name":"tformcontact.label20.caption","sourcebytes":[69,45,109,97,105,108,32,40,72,111,109,101,41,58],"value":"E-mail (Home):"}, … … 12 12 {"hash":162456010,"name":"tformcontact.label22.caption","sourcebytes":[66,105,114,116,104,100,97,121,58],"value":"Birthday:"}, 13 13 {"hash":91188010,"name":"tformcontact.label23.caption","sourcebytes":[80,104,111,116,111,58],"value":"Photo:"}, 14 {"hash":242270122,"name":"tformcontact.label24.caption","sourcebytes":[70,117,108,108,32,110,97,109,101,58],"value":"Full name:"}, 15 {"hash":40626346,"name":"tformcontact.label25.caption","sourcebytes":[77,105,100,100,108,101,32,110,97,109,101,58],"value":"Middle name:"}, 16 {"hash":62410682,"name":"tformcontact.label26.caption","sourcebytes":[84,105,116,108,101,32,98,101,102,111,114,101,58],"value":"Title before:"}, 17 {"hash":63774250,"name":"tformcontact.label27.caption","sourcebytes":[84,105,116,108,101,32,97,102,116,101,114,58],"value":"Title after:"}, 14 18 {"hash":181043315,"name":"tformcontact.tabsheetdetails.caption","sourcebytes":[68,101,116,97,105,108,115],"value":"Details"}, 15 19 {"hash":170160314,"name":"tformcontact.label7.caption","sourcebytes":[80,104,111,110,101,32,40,72,111,109,101,41,58],"value":"Phone (Home):"}, … … 27 31 {"hash":179883546,"name":"tformcontact.label19.caption","sourcebytes":[65,100,100,114,101,115,115,58],"value":"Address:"}, 28 32 {"hash":101155194,"name":"tformcontact.labelorganization.caption","sourcebytes":[79,114,103,97,110,105,122,97,116,105,111,110,58],"value":"Organization:"}, 33 {"hash":167347194,"name":"tformcontact.labelorganization1.caption","sourcebytes":[68,101,112,97,114,116,109,101,110,116,58],"value":"Department:"}, 29 34 {"hash":113983571,"name":"tformcontact.tabsheetall.caption","sourcebytes":[65,108,108,32,102,105,101,108,100,115],"value":"All fields"}, 30 35 {"hash":346165,"name":"tformcontact.listview1.columns[0].caption","sourcebytes":[78,97,109,101],"value":"Name"}, -
trunk/Forms/UFormContact.pas
r32 r33 18 18 ButtonCancel: TButton; 19 19 ButtonOk: TButton; 20 EditDepartment: TEdit; 21 EditFullName: TEdit; 22 EditTitleBefore: TEdit; 23 EditMiddleName: TEdit; 24 EditTitleAfter: TEdit; 20 25 EditWebPage: TEdit; 21 26 EditWebPageHome: TEdit; … … 35 40 EditFaxWork: TEdit; 36 41 EditPager: TEdit; 37 Edit Surname: TEdit;42 EditLastName: TEdit; 38 43 EditEmail: TEdit; 39 44 EditPhone: TEdit; 40 Edit Name: TEdit;45 EditFirstName: TEdit; 41 46 EditCellPhone: TEdit; 42 47 ImagePhoto: TImage; … … 57 62 Label22: TLabel; 58 63 Label23: TLabel; 64 Label24: TLabel; 65 Label25: TLabel; 66 Label26: TLabel; 67 Label27: TLabel; 59 68 LabelOrganization: TLabel; 60 69 Label3: TLabel; … … 65 74 Label8: TLabel; 66 75 Label9: TLabel; 76 LabelOrganization1: TLabel; 67 77 ListView1: TListView; 68 78 MemoNotes: TMemo; … … 163 173 begin 164 174 Self.Contact := Contact; 165 EditName.Text := Contact.Fields[cfFirstName]; 166 EditSurname.Text := Contact.Fields[cfLastName]; 175 EditFullName.Text := Contact.Fields[cfFullName]; 176 EditFirstName.Text := Contact.Fields[cfFirstName]; 177 EditLastName.Text := Contact.Fields[cfLastName]; 178 EditMiddleName.Text := Contact.Fields[cfMiddleName]; 179 EditTitleAfter.Text := Contact.Fields[cfTitleAfter]; 180 EditTitleBefore.Text := Contact.Fields[cfTitleBefore]; 167 181 EditCellPhone.Text := Contact.Fields[cfTelCell]; 168 182 EditPhoneHome.Text := Contact.Fields[cfTelHome]; … … 172 186 EditTitle.Text := Contact.Fields[cfTitle]; 173 187 EditOrganization.Text := Contact.Fields[cfOrganization]; 174 EditAddress.Text := Contact.Fields[cfAdrHome]; 175 EditEmailHome.Text := Contact.Fields[cfEmailHome]; 188 EditDepartment.Text := Contact.Fields[cfDepartment]; 189 EditAddress.Text := Contact.Fields[cfHomeAddress]; 190 EditEmailHome.Text := Contact.Fields[cfEmail]; 191 EditWebPage.Text := Contact.Fields[cfUrl]; 192 EditBirthday.Text := Contact.Fields[cfDayOfBirth]; 176 193 177 194 ImagePhoto.Picture.Bitmap.Clear; … … 206 223 procedure TFormContact.SaveData(Contact: TContact); 207 224 begin 208 Contact.Fields[cfFirstName] := Edit Name.Text;209 Contact.Fields[cfLastName] := Edit Surname.Text;225 Contact.Fields[cfFirstName] := EditFirstName.Text; 226 Contact.Fields[cfLastName] := EditLastName.Text; 210 227 Contact.Fields[cfTelCell] := EditCellPhone.Text; 211 228 Contact.Fields[cfTelHome] := EditPhoneHome.Text; … … 215 232 Contact.Fields[cfTitle] := EditTitle.Text; 216 233 Contact.Fields[cfOrganization] := EditOrganization.Text; 217 Contact.Fields[cfAdrHome] := EditAddress.Text; 218 Contact.Fields[cfEmailHome] := EditEmailHome.Text; 234 Contact.Fields[cfDepartment] := EditDepartment.Text; 235 Contact.Fields[cfHomeAddress] := EditAddress.Text; 236 Contact.Fields[cfEmail] := EditEmailHome.Text; 237 Contact.Fields[cfUrl] := EditWebPage.Text; 238 Contact.Fields[cfDayOfBirth] := EditBirthday.Text; 219 239 end; 220 240
Note:
See TracChangeset
for help on using the changeset viewer.